We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee0e8ea commit 498cc83Copy full SHA for 498cc83
src/Text/Parsing/Parser.purs.hs
@@ -49,7 +49,7 @@ instance applyParserT :: (Monad m) => Apply (ParserT s m) where
49
(<*>) = ap
50
51
instance applicativeParserT :: (Monad m) => Applicative (ParserT s m) where
52
- pure = return
+ pure a = ParserT (pure a)
53
54
instance alternativeParserT :: (Monad m) => Alternative (ParserT s m) where
55
empty = ParserT empty
0 commit comments