1
0
forked from GitHub/gf-core

Changes for compatibility with GHC 8.0.1

This commit is contained in:
hallgren
2016-05-22 20:15:31 +00:00
parent 31efa4116e
commit 0635f546f3
2 changed files with 3 additions and 3 deletions

View File

@@ -44,7 +44,7 @@ pgfEnv pgf = Env pgf mos
class (Functor m,Monad m,MonadSIO m) => HasPGFEnv m where getPGFEnv :: m PGFEnv
instance HasPGFEnv m => TypeCheckArg m where
instance (Monad m,HasPGFEnv m) => TypeCheckArg m where
typeCheckArg e = (either (fail . render . ppTcError) (return . fst)
. flip inferExpr e . pgf) =<< getPGFEnv