diff options
Diffstat (limited to 'compiler/parser/Lexer.x')
-rw-r--r-- | compiler/parser/Lexer.x | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler/parser/Lexer.x b/compiler/parser/Lexer.x index 936948b40f..c5332fbe2f 100644 --- a/compiler/parser/Lexer.x +++ b/compiler/parser/Lexer.x @@ -77,9 +77,7 @@ module Lexer ( -- base import Control.Monad -#if __GLASGOW_HASKELL__ > 710 import Control.Monad.Fail -#endif import Data.Bits import Data.Char import Data.List @@ -1894,10 +1892,8 @@ instance Monad P where (>>=) = thenP fail = failP -#if __GLASGOW_HASKELL__ > 710 instance MonadFail P where fail = failP -#endif returnP :: a -> P a returnP a = a `seq` (P $ \s -> POk s a) |