add missing ‘L.’ in doc-string of ‘signed’

This commit is contained in:
mrkkrp 2015-10-16 15:57:46 +06:00
parent 9e1cac87b8
commit 81b0081028

View File

@ -273,7 +273,7 @@ number = (Right <$> try float) <|> (Left <$> integer) <?> "number"
--
-- > lexeme = L.lexeme spaceConsumer
-- > integer = lexeme L.integer
-- > signedInteger = signed spaceConsumer integer
-- > signedInteger = L.signed spaceConsumer integer
signed :: (MonadParsec s m Char, Num a) => m () -> m a -> m a
signed spc p = ($) <$> option id (lexeme spc sign) <*> p