RE: a couple of examples that cause Panic

"Simon Peyton-Jones" <[email protected]>
Newsgroups gmane.comp.lang.haskell.template
Message-ID <4B93206CA3C55D4F96A61C9B1DC80DE301219CC1@EUR-MSG-03.europe.corp.microsoft.com>
Yes, these are ok in the HEAD, thanks
(modulo various renamings)

Simon

| -----Original Message-----
| From: [email protected]
[mailto:[email protected]] On
| Behalf Of Isaac Jones
| Sent: 11 April 2004 20:07
| To: template-haskell
| Subject: [Template-haskell] a couple of examples that cause Panic
| 
| 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
| 
| _______________________________________________
| template-haskell mailing list
| [email protected]
| http://www.haskell.org/mailman/listinfo/template-haskell
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.