Closed k0001 closed 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?
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.
What version of
ghc
are you using? I don't this compiler error onghc-7.4.1
. I'll go ahead and merge this anyway.