Resolving dependencies... Configuring ghc-paths-0.1.0.9... Configuring mtl-2.2.1... Building mtl-2.2.1... Building ghc-paths-0.1.0.9... Installed mtl-2.2.1 Configuring text-1.2.2.1... Installed ghc-paths-0.1.0.9 Building text-1.2.2.1... Installed text-1.2.2.1 Configuring parsec-3.1.11... Building parsec-3.1.11... Installed parsec-3.1.11 Configuring egison-2.1.4... Building egison-2.1.4... Failed to install egison-2.1.4 Build log ( /home/builder/.cabal/logs/egison-2.1.4.log ): cabal: Entering directory '/tmp/cabal-tmp-17606/egison-2.1.4' Configuring egison-2.1.4... Building egison-2.1.4... Preprocessing library egison-2.1.4... [1 of 7] Compiling Paths_egison ( dist/build/autogen/Paths_egison.hs, dist/build/Paths_egison.o ) [2 of 7] Compiling Language.Egison.Types ( hs-src/Language/Egison/Types.hs, dist/build/Language/Egison/Types.o ) hs-src/Language/Egison/Types.hs:3:1: warning: [-Wdeprecations] Module ‘Control.Monad.Error’ is deprecated: Use Control.Monad.Except instead hs-src/Language/Egison/Types.hs:42:10: warning: [-Wdeprecations] In the use of type constructor or class ‘Error’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" hs-src/Language/Egison/Types.hs:42:10: warning: [-Wdeprecations] In the use of type constructor or class ‘Error’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" hs-src/Language/Egison/Types.hs:55:22: warning: [-Wdeprecations] In the use of type constructor or class ‘ErrorT’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" hs-src/Language/Egison/Types.hs:62:26: warning: [-Wdeprecations] In the use of ‘runErrorT’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" hs-src/Language/Egison/Types.hs:66:17: warning: [-Wdeprecations] In the use of ‘runErrorT’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" [3 of 7] Compiling Language.Egison.Variables ( hs-src/Language/Egison/Variables.hs, dist/build/Language/Egison/Variables.o ) hs-src/Language/Egison/Variables.hs:3:1: warning: [-Wdeprecations] Module ‘Control.Monad.Error’ is deprecated: Use Control.Monad.Except instead [4 of 7] Compiling Language.Egison.Parser ( hs-src/Language/Egison/Parser.hs, dist/build/Language/Egison/Parser.o ) hs-src/Language/Egison/Parser.hs:3:1: warning: [-Wdeprecations] Module ‘Control.Monad.Error’ is deprecated: Use Control.Monad.Except instead [5 of 7] Compiling Language.Egison.Numerical ( hs-src/Language/Egison/Numerical.hs, dist/build/Language/Egison/Numerical.o ) hs-src/Language/Egison/Numerical.hs:61:9: error: • Non type-variable argument in the constraint: MonadError EgisonError m (Use FlexibleContexts to permit this) • When checking the inferred type doOp :: forall (m :: * -> *). MonadError EgisonError m => [Integer] -> m EgisonVal In an equation for ‘numBoolBinop’: numBoolBinop op aparams = mapM unpackNum aparams >>= doOp where doOp [a, b] = return $ Bool $ op a b doOp _ = throwError $ Default "Unexpected error in numBoolBinop" hs-src/Language/Egison/Numerical.hs:68:9: error: • Non type-variable argument in the constraint: MonadError EgisonError m (Use FlexibleContexts to permit this) • When checking the inferred type doOp :: forall (m :: * -> *). MonadError EgisonError m => [Double] -> m EgisonVal In an equation for ‘floatBoolBinop’: floatBoolBinop op aparams = mapM unpackFloat aparams >>= doOp where doOp [a, b] = return $ Bool $ op a b doOp _ = throwError $ Default "Unexpected error in floatBoolBinop" cabal: Leaving directory '/tmp/cabal-tmp-17606/egison-2.1.4' cabal: Error: some packages failed to install: egison-2.1.4 failed during the building phase. The exception was: ExitFailure 1