diff options
Diffstat (limited to 'compiler/parser')
-rw-r--r-- | compiler/parser/Lexer.x | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/parser/Lexer.x b/compiler/parser/Lexer.x index c5332fbe2f..5d3d65d035 100644 --- a/compiler/parser/Lexer.x +++ b/compiler/parser/Lexer.x @@ -77,7 +77,7 @@ module Lexer ( -- base import Control.Monad -import Control.Monad.Fail +import Control.Monad.Fail as MonadFail import Data.Bits import Data.Char import Data.List @@ -1890,7 +1890,7 @@ instance Applicative P where instance Monad P where (>>=) = thenP - fail = failP + fail = MonadFail.fail instance MonadFail P where fail = failP |