Haskell.Exts parse failed: FlexibleContexts not enabled

Hi, when parsing a file containing a function signature with a context like test :: (Functor f) => ... I get the follewing failure: ParseFailed "Malformed context: FlexibleContexts not enabled" Actually I enables flexible contexts whereever I could ... any ideas? Greets, daniel

Am 28.09.2010 23:01, schrieb Daniel Lincke:
Hi,
when parsing a file containing a function signature with a context like test :: (Functor f) => ...
This is just a plain (haskell 98) context. Can you hlint your file? Does to go through ghc? http://hackage.haskell.org/package/hlint uses http://hackage.haskell.org/package/haskell-src-exts
I get the follewing failure: ParseFailed "Malformed context: FlexibleContexts not enabled"
http://darcs.haskell.org/download/docs/6.12.3/html/users_guide/other-type-ex... Cheers Christian
Actually I enables flexible contexts whereever I could ... any ideas?
Greets, daniel
participants (2)
-
Christian Maeder
-
Daniel Lincke