Closed pavelm closed 11 years ago
I'm on ghc 7.6.1, and it works for me. It looks like this error message should be easy to fix, just by adding
{-# LANGUAGE ConstraintKinds #-}
up at the top of the file. So I tried that and reuploaded to hackage. See if that works.
Getting the following errors from the cabal install:
[2 of 7] Compiling HLearn.Algebra.Structures.Modules ( src/HLearn/Algebra/Structures/Modules.hs, dist/build/HLearn/Algebra/Structures/Modules.o )
src/HLearn/Algebra/Structures/Modules.hs:94:5: Illegal tuple constraint (Num r, Ord a) (Use -XConstraintKinds to permit this) In the type synonym instance declaration for
CK.FunctorConstraint' In the instance declaration for
CK.Functor (FreeMod r)'src/HLearn/Algebra/Structures/Modules.hs:98:5: Illegal tuple constraint (Num r, Ord a, Operator r a) (Use -XConstraintKinds to permit this) In the type synonym instance declaration for
CK.FoldableConstraint' In the instance declaration for
CK.Foldable (FreeMod r)' cabal: Error: some packages failed to install: HLearn-algebra-0.1.0.1 failed during the building phase. The exception was: ExitFailure 1