logo       

Re: ghc-6.2 bug in type inference: msg#00028

lang.haskell.glasgow.bugs

Subject: Re: ghc-6.2 bug in type inference

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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise