Resolving dependencies... Configuring random-1.1... Building random-1.1... Installed random-1.1 Configuring HaskellForMaths-0.4.2... Building HaskellForMaths-0.4.2... Failed to install HaskellForMaths-0.4.2 Build log ( /home/builder/.cabal/logs/HaskellForMaths-0.4.2.log ): cabal: Entering directory '/tmp/cabal-tmp-7507/HaskellForMaths-0.4.2' Configuring HaskellForMaths-0.4.2... Building HaskellForMaths-0.4.2... Preprocessing library HaskellForMaths-0.4.2... [ 1 of 56] Compiling Math.NumberTheory.Prime ( Math/NumberTheory/Prime.hs, dist/build/Math/NumberTheory/Prime.o ) [ 2 of 56] Compiling Math.NumberTheory.Factor ( Math/NumberTheory/Factor.hs, dist/build/Math/NumberTheory/Factor.o ) [ 3 of 56] Compiling Math.Core.Utils ( Math/Core/Utils.hs, dist/build/Math/Core/Utils.o ) [ 4 of 56] Compiling Math.Core.Field ( Math/Core/Field.hs, dist/build/Math/Core/Field.o ) [ 5 of 56] Compiling Math.Common.ListSet ( Math/Common/ListSet.hs, dist/build/Math/Common/ListSet.o ) [ 6 of 56] Compiling Math.Common.IntegerAsType ( Math/Common/IntegerAsType.hs, dist/build/Math/Common/IntegerAsType.o ) [ 7 of 56] Compiling Math.Combinatorics.Digraph ( Math/Combinatorics/Digraph.hs, dist/build/Math/Combinatorics/Digraph.o ) [ 8 of 56] Compiling Math.Algebras.VectorSpace ( Math/Algebras/VectorSpace.hs, dist/build/Math/Algebras/VectorSpace.o ) Math/Algebras/VectorSpace.hs:128:10: error: • Could not deduce (Applicative (Vect k)) arising from the superclasses of an instance declaration from the context: Num k bound by the instance declaration at Math/Algebras/VectorSpace.hs:128:10-32 • In the instance declaration for ‘Monad (Vect k)’ cabal: Leaving directory '/tmp/cabal-tmp-7507/HaskellForMaths-0.4.2' cabal: Error: some packages failed to install: HaskellForMaths-0.4.2 failed during the building phase. The exception was: ExitFailure 1