mikeizbicki / vector-heterogenous

Arbitrary size tuples in Haskell
12 stars 3 forks source link

vector-heterogenous fails to parse 1.0.0 and above (Linux x86_64) #3

Closed ghost closed 9 years ago

ghost commented 10 years ago

Hello,

I have ghc 7.4.1, base 4.5.0.0, and vector 0.10.9.1. I tried to install vector-heterogenous as a dependency of HLearn, but it failed to parse this package.

~$ cabal install vector-heterogenous
Resolving dependencies...
Configuring vector-heterogenous-0.1.2...
Building vector-heterogenous-0.1.2...
Preprocessing library vector-heterogenous-0.1.2...

src/Data/Vector/Heterogenous/HList.hs:51:12:
    parse error on input `('
cabal: Error: some packages failed to install:
vector-heterogenous-0.1.2 failed during the building phase. The exception was:
ExitFailure 1

Edit:

On second glance it seems that I may need to have a newer version of GHC?

mikeizbicki commented 10 years ago

It requires GHC >= 7.6 to handle the fancy type signatures

ghost commented 10 years ago

It works perfectly, my apologies for not realizing that vector-heterogenous required ghc >= 7.6.