Resolving dependencies... Configuring mtl-2.2.1... Configuring text-1.2.2.1... Building mtl-2.2.1... Building text-1.2.2.1... Installed mtl-2.2.1 Configuring logict-0.6.0.2... Building logict-0.6.0.2... Installed logict-0.6.0.2 Installed text-1.2.2.1 Configuring parsec-3.1.11... Building parsec-3.1.11... Installed parsec-3.1.11 Configuring peg-0.1... Building peg-0.1... Failed to install peg-0.1 Build log ( /home/builder/.cabal/logs/peg-0.1.log ): cabal: Entering directory '/tmp/cabal-tmp-21559/peg-0.1' Configuring peg-0.1... Building peg-0.1... Preprocessing executable 'peg' for peg-0.1... [1 of 1] Compiling Main ( Peg.hs, dist/build/peg/peg-tmp/Main.o ) Peg.hs:115:1: error: • Non type-variable argument in the constraint: MonadState PegState m (Use FlexibleContexts to permit this) • When checking the inferred type pushStack :: forall (m :: * -> *). MonadState PegState m => Value -> m () Peg.hs:116:1: error: • Non type-variable argument in the constraint: MonadState PegState m (Use FlexibleContexts to permit this) • When checking the inferred type appendStack :: forall (m :: * -> *). MonadState PegState m => [Value] -> m () Peg.hs:128:1: error: • Non type-variable argument in the constraint: MonadState PegState m (Use FlexibleContexts to permit this) • When checking the inferred type pushArg :: forall (m :: * -> *). MonadState PegState m => Value -> m () Peg.hs:381:1: error: • Non type-variable argument in the constraint: MonadState PegState m (Use FlexibleContexts to permit this) • When checking the inferred type bind :: forall (m :: * -> *) t. MonadState PegState m => String -> t -> m () Peg.hs:387:1: error: • Non type-variable argument in the constraint: MonadState PegState m (Use FlexibleContexts to permit this) • When checking the inferred type unbind :: forall (m :: * -> *). MonadState PegState m => String -> m () cabal: Leaving directory '/tmp/cabal-tmp-21559/peg-0.1' cabal: Error: some packages failed to install: peg-0.1 failed during the building phase. The exception was: ExitFailure 1