True, thank you. I'm fixing it as we speak.  drvrun020 is the test.

Simon

| -----Original Message-----
| From: [EMAIL PROTECTED]
[mailto:glasgow-haskell-bugs-
| [EMAIL PROTECTED] On Behalf Of Neil Mitchell
| Sent: 30 April 2006 19:10
| To: glasgow-haskell-bugs@haskell.org
| Subject: Show Bug (I think)
| 
| Hi,
| 
| -------
| data Item = Item1 Item
|           | Item2 {a :: Int}
|           deriving (Show, Read)
| 
| value = Item1 (Item2 1)
| 
| valueHugs = "Item1 Item2 {a = 1}"
| valueGhc = "Item1 (Item2 {a = 1})"
| 
| readItem x = (read x) :: Item
| ------
| 
| With the following code show value under Hugs and Ghc give different
| results. readItem valueHugs and valueGhc both succeed under Hugs, but
| readItem valueHugs fails under GHC.
| 
| I guess this is a bug with GHC, since that text for valueHugs on the
| command line succeeds with GHCi - i.e. typed directly not with read.
| 
| Hugs: WinHugs CVS
| GHC: 6.4.2 Windows
| 
| Thanks
| 
| Neil
| _______________________________________________
| Glasgow-haskell-bugs mailing list
| Glasgow-haskell-bugs@haskell.org
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to