Gabriella439 / pipes

Compositional pipelines
BSD 3-Clause "New" or "Revised" License
489 stars 72 forks source link

Add missing pragma: LANGUAGE RankNTypes #46

Closed k0001 closed 11 years ago

Gabriella439 commented 11 years ago

What version of ghc are you using? I don't this compiler error on ghc-7.4.1. I'll go ahead and merge this anyway.

k0001 commented 11 years ago

I'm running GHC 7.6.3 here. I'm surprised that your version doesn't complain about the missing pragma. Could it be that in your setup you are passing the -XRankNTypes parameter to GHC somehow?

Gabriella439 commented 11 years ago

No. I don't get the errors when compiling using cabal, ghc alone, or loading the module into ghci. Either way, it looks like we need the pragma.