summaryrefslogtreecommitdiff
path: root/compiler/parser/Lexer.x
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/parser/Lexer.x')
-rw-r--r--compiler/parser/Lexer.x4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/parser/Lexer.x b/compiler/parser/Lexer.x
index db2d8473cc..acb6893b66 100644
--- a/compiler/parser/Lexer.x
+++ b/compiler/parser/Lexer.x
@@ -1730,11 +1730,11 @@ instance Functor P where
fmap = liftM
instance Applicative P where
- pure = return
+ pure = returnP
(<*>) = ap
instance Monad P where
- return = returnP
+ return = pure
(>>=) = thenP
fail = failP