mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-11-04 19:25:27 -07:00
Lexer.x: fix cyclic Functor instance
It looks like I introduced this cyclic definition in August 2014, but since it isn't used, it hasn't been a problem...
This commit is contained in:
1 parent
ad22a4d899
commit
c8b7ebc163
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user