[Haskell-cafe] Problem with prepose.lhs and ghc6.10.1
nadine.and.henry at pobox.com
Thu Apr 2 11:59:30 EDT 2009
I'm trying to read the paper:
"Functional Pearl: Implicit Configurations"
and when running the code in prepose.lhs I get:
../haskell/prepose.lhs:707:0: Parse error in pattern
which is pointing at:
normalize a :: M s a = M (mod a (modulus (undefined :: s)))
The paper says it uses lexically scoped type variables. I tried reading about
so I added -XScopedTypeVariables to my OPTIONS but I still get the same error
message. I would really like to play with the code in the paper, but I'm stuck
at this point. Any pointers would be appreciated.
More information about the Haskell-Cafe