leventov / yarr

Yer another array library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compilation fails on Mac OS (OSX)

idontgetoutmuch opened this issue · comments

On my Mac I get

Data/Yarr/Utils/Primitive.hs:123:136: Parse error in pattern: con
Failed to install yarr-1.4.0.1
cabal: Error: some packages failed to install:
yarr-1.4.0.1 failed during the building phase. The exception was:
ExitFailure 1

This can be fixed by changing the ghc settings

("Haskell CPP command","/usr/local/bin/gcc-5")