ghci 6.4 panic on HList code.

Simon Peyton-Jones simonpj at microsoft.com
Mon Oct 16 07:16:00 EDT 2006


Yes, this is indeed a bug, happily long fixed.  6.6 says

Foo9.hs:1:34:
    Class `C' used as a type
    In the class declaration for `C'

Simon

| -----Original Message-----
| From: glasgow-haskell-bugs-bounces at haskell.org
[mailto:glasgow-haskell-bugs-bounces at haskell.org]
| On Behalf Of Matthias Fischmann
| Sent: 06 October 2006 15:03
| To: glasgow-haskell-bugs at haskell.org
| Subject: Re: ghci 6.4 panic on HList code.
| 
| 
| 
| sorry, i was too fast with my report.  i still consider what i found a
| bug in ghci, but it's triggered by a bug in my code.  you can also
| trigger it by the much shorter:
| 
| module Main where class C a where f :: C a
| 
| in contrast, the more correct:
| 
| module Main where class C a where f :: a
| 
| works.  feel free to fix it anyhow, of course...  (-:
| 
| cheers,
| matthias
F25  0996 4D73 F1FD 8D32 9BAA



More information about the Glasgow-haskell-bugs mailing list