Resolving dependencies... Downloading cmonad-0.1.0.1... Configuring cmonad-0.1.0.1... Building cmonad-0.1.0.1... Failed to install cmonad-0.1.0.1 Build log ( /home/builder/.cabal/logs/cmonad-0.1.0.1.log ): cabal: Entering directory '/tmp/cabal-tmp-8509/cmonad-0.1.0.1' Configuring cmonad-0.1.0.1... Building cmonad-0.1.0.1... Preprocessing library cmonad-0.1.0.1... src/Language/CMonad/CPrelude.hs:1:16: warning: -fglasgow-exts is deprecated: Use individual extensions instead src/Language/CMonad/Prim.hs:1:16: warning: -fglasgow-exts is deprecated: Use individual extensions instead src/Language/CMonad/Ops.hs:1:16: warning: -fglasgow-exts is deprecated: Use individual extensions instead [1 of 5] Compiling Language.CMonad.MonadRef ( src/Language/CMonad/MonadRef.hs, dist/build/Language/CMonad/MonadRef.o ) [2 of 5] Compiling Language.CMonad.Prim ( src/Language/CMonad/Prim.hs, dist/build/Language/CMonad/Prim.o ) src/Language/CMonad/Prim.hs:63:11: error: • Could not deduce (MArray arr0 a m) from the context: (Ix i, Num i, MArray arr a m) bound by the type signature for: arrayU :: (Ix i, Num i, MArray arr a m) => [E m i] -> E m (forall v. [E m i] -> E' v m a) at src/Language/CMonad/Prim.hs:(63,11)-(64,54) The type variable ‘arr0’ is ambiguous • In the ambiguity check for ‘arrayU’ To defer the ambiguity check to use sites, enable AllowAmbiguousTypes In the type signature: arrayU :: forall arr m a i. (Ix i, Num i, MArray arr a m) => [E m i] -> E m (forall v. [E m i] -> E' v m a) src/Language/CMonad/Prim.hs:80:11: error: • Could not deduce (MArray arr0 a m) from the context: (Ix i, MArray arr a m) bound by the type signature for: arrayA :: (Ix i, MArray arr a m) => Array i a -> E m (forall v. [E m i] -> E' v m a) at src/Language/CMonad/Prim.hs:(80,11)-(81,56) The type variable ‘arr0’ is ambiguous • In the ambiguity check for ‘arrayA’ To defer the ambiguity check to use sites, enable AllowAmbiguousTypes In the type signature: arrayA :: forall arr m a i. (Ix i, MArray arr a m) => Array i a -> E m (forall v. [E m i] -> E' v m a) cabal: Leaving directory '/tmp/cabal-tmp-8509/cmonad-0.1.0.1' cabal: Error: some packages failed to install: cmonad-0.1.0.1 failed during the building phase. The exception was: ExitFailure 1