[Haskell-beginners] Re: Haskell.Exts parse failed: FlexibleContexts not enabled

Christian Maeder Christian.Maeder at dfki.de
Thu Sep 30 07:11:31 EDT 2010

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

> I get the follewing failure:
> ParseFailed "Malformed context: FlexibleContexts not enabled"


Cheers Christian

> Actually I enables flexible contexts whereever I could ... any ideas?
> Greets, daniel

More information about the Beginners mailing list