On 16-Mar-2000, Patrik Jansson <[EMAIL PROTECTED]> wrote:
> On Thu, 16 Mar 2000, Chris Okasaki wrote:
> > newtype Foo = F Foo
...
> Hugs and hbc accept it without complaining. (I haven't got nhc installed.)
>
> What is interesting is that ghc loops when trying to compile this
> definition! (Ghc folks, consider this a bug report, details below!)
ghc is not the only compiler to have this problem.
I tried code analagous to this out on the Mercury compiler,
and it turned out that like ghc, the Mercury compiler went into
an infinite loop.
Fortunately the problem was fairly simple, so I've fixed it already.
Thanks for the devious test case, though ;-)
--
Fergus Henderson <[EMAIL PROTECTED]> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger [EMAIL PROTECTED] | -- the last words of T. S. Garp.