summaryrefslogtreecommitdiff
path: root/src/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/GF/Grammar/Lexer.x2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/GF/Grammar/Lexer.x b/src/compiler/GF/Grammar/Lexer.x
index c579b5609..c236b77fa 100644
--- a/src/compiler/GF/Grammar/Lexer.x
+++ b/src/compiler/GF/Grammar/Lexer.x
@@ -268,7 +268,7 @@ data ParseResult a
newtype P a = P { unP :: AlexInput -> ParseResult a }
instance Functor P where
- fmap = (<$>)
+ fmap = liftA
instance Applicative P where
pure = return