mirror of
https://github.com/mrkkrp/megaparsec.git
synced 2024-12-24 16:51:38 +03:00
add missing ‘L.’ in doc-string of ‘signed’
This commit is contained in:
parent
9e1cac87b8
commit
81b0081028
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user