a couple of examples that cause Panic

Isaac Jones <[email protected]>
Newsgroups gmane.comp.lang.haskell.template
Message-ID <[email protected]>
Greetings.

Abe Egnor and I ran into a couple of panics in ghc-6.2 with TH in
Debian:

(ghci)

> runQ (reifyDecl show) >>= print

Actually, I think that breaks for any function in place of "show".
Similarly:

> module BugReport where
>
> data ObservedSound = ObservedSound
>
> foo = [d|instance Show ObservedSound  where
>              show _ = "" |]

Ian L. has mentioned that this may be fixed in CVS, but I figured I'd
send it out to you before I forget.

peace,

isaac
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.