mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-12-18 05:21:57 +03:00
Fix to work with GHC 7.8
This commit is contained in:
parent
ad807491a5
commit
b799970f9e
@ -20,6 +20,7 @@ import Cryptol.Parser.ParserUtils
|
||||
import Cryptol.Utils.PP
|
||||
|
||||
import Data.Either (partitionEithers)
|
||||
import qualified Control.Applicative as A
|
||||
import MonadLib
|
||||
import qualified Control.Exception as X
|
||||
|
||||
@ -63,7 +64,7 @@ tryNoIncM m = M (try (unM m))
|
||||
instance Functor NoIncM where
|
||||
fmap = liftM
|
||||
|
||||
instance Applicative NoIncM where
|
||||
instance A.Applicative NoIncM where
|
||||
pure = return
|
||||
(<*>) = ap
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user