[Template-haskell] a couple of examples that cause Panic
Simon Peyton-Jones
simonpj at microsoft.com
Thu May 6 14:58:07 EDT 2004
Yes, these are ok in the HEAD, thanks
(modulo various renamings)
Simon
| -----Original Message-----
| From: template-haskell-bounces at haskell.org
[mailto:template-haskell-bounces at haskell.org] 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
| template-haskell at haskell.org
| http://www.haskell.org/mailman/listinfo/template-haskell
More information about the template-haskell
mailing list