[Template-haskell] Re: Show Info

Simon Peyton-Jones simonpj at microsoft.com
Wed Dec 15 07:30:25 EST 2004


Jim

You need to update to the latest HEAD.  Then it works.  (But there was a
missing case in pretty-printing for PrimTyConI which I fixed this
morning, so "latest" means any time from now.)

Simon

| -----Original Message-----
| From: template-haskell-bounces at haskell.org
[mailto:template-haskell-bounces at haskell.org] On
| Behalf Of Jim Apple
| Sent: 14 December 2004 06:00
| To: template-haskell at haskell.org
| Subject: [Template-haskell] Re: Show Info
| 
| Jim Apple wrote:
| > Is there any reason why Info isn't deriving(Show) ?
| 
| Ok, I see from the testsuite examples and some code that I can print
it
| with pprint. I am now getting this new error:
| 
|  >$(do {display ''(->); [| () |]})
| 
| ghc-6.3.20041123: panic! (the `impossible' happened, GHC version
| 6.3.20041123):
|          algTyConRhs GHCziPrim.ZLzmzgZR{(w) tc 3D}
| 
| with display as in
| 
| testsuite/tests/ghc-regress/th/TH_reifyDecl1.hs
| 
| Jim
| 
| _______________________________________________
| 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