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.
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
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.
/