1
0
forked from GitHub/gf-core

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:
hallgren
2016-04-06 13:46:48 +00:00
parent bd8c96efb3
commit c4ea470eb1

View File

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