Fixed a mistake (Applicative to Alternative) in the parserZero comments

This commit is contained in:
Tal Walter 2015-01-24 08:59:22 +02:00
parent 87f0293627
commit 2b74642d7d

View File

@ -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