mirror of
https://github.com/mrkkrp/megaparsec.git
synced 2024-11-28 03:52:08 +03:00
Fixed a mistake (Applicative to Alternative) in the parserZero comments
This commit is contained in:
parent
87f0293627
commit
2b74642d7d
@ -280,7 +280,7 @@ instance MonadPlus (ParsecT s u m) where
|
||||
|
||||
-- | @parserZero@ always fails without consuming any input. @parserZero@ is defined
|
||||
-- equal to the 'mzero' member of the 'MonadPlus' class and to the 'Control.Applicative.empty' member
|
||||
-- of the 'Control.Applicative.Applicative' class.
|
||||
-- of the 'Control.Applicative.Alternative' class.
|
||||
|
||||
parserZero :: ParsecT s u m a
|
||||
parserZero
|
||||
|
Loading…
Reference in New Issue
Block a user