ghc-6.2 bug in type inference
Tomasz Zielonka
t.zielonka at students.mimuw.edu.pl
Fri Feb 6 07:34:55 EST 2004
On Fri, Feb 06, 2004 at 11:13:57AM +0000, Malcolm Wallace wrote:
>
> * -fglasgow-exts makes perfectly reasonable Haskell'98 code
> invalid, throws up a totally misleading error unrelated to the
> cause of the problem, and gives no clue as to what particular
> extension is responsible.
That's "linear implicit parameters".
Try putting whitespace between % and s.
If you use -fglasgow-exts you have to know almost all language
extensions supported by GHC. Therefore I think that packages shouldn't
implicitly add -fglasgow-exts. It should be sufficient to place
{-# OPTIONS -fglasgow-exts #-} pragma in modules that need these
extensions.
Best regards,
Tomek
--
.signature: Too many levels of symbolic links
More information about the Glasgow-haskell-bugs
mailing list