Re: ghc5.04.1 deriving Read/Show broken

2002-09-17 Thread George Russell
Manuel M T Chakravarty wrote: [snip] Luckily, there is a workaround (discovered by Tom Moertel on #haskell). If you include field names in the data definition for which you derive Show and Read, it seems to work fine. [snip] Thanks. I may try this, if I get time.

RE: ghc5.04.1 deriving Read/Show broken

2002-09-17 Thread Simon Marlow
Luckily, there is a workaround (discovered by Tom Moertel on #haskell). If you include field names in the data definition for which you derive Show and Read, it seems to work fine. So, in George's example module GHCBug where data Command = NewLocation | Commit

Re: ghc5.04.1 deriving Read/Show broken

2002-09-16 Thread Manuel M T Chakravarty
Simon Marlow [EMAIL PROTECTED] wrote, With the attached file, on both Linux and Solaris, I get the following Cut here --- # ghci --interactive ___ ___ _ / _ \ /\ /\/ __(_) / /_\// /_/ / / | | GHC Interactive, version 5.04.1, for Haskell 98. /