Re: Field label bug?

1999-08-17 Thread Michael Weber
On Mon, Aug 16, 1999 at 16:40:30 -0500, Michael Hobbs wrote: Is this a bug with ghc-4.04 or just a "feature" of Haskell 98 that I was unaware of? I get a parse error with the following code: data Point = Pt {pointx, pointy :: Float} abs (Pt {pointx, pointy}) = sqrt (pointx*pointx +

RE: Field label bug?

1999-08-17 Thread Simon Peyton-Jones
"Punning" was removed (in my view this was a mistake) in Haskell 98. That's why neither GHC nor Hugs accepts it. Simon -Original Message- From: Michael Hobbs Sent: Monday, August 16, 1999 10:41 PM Cc: [EMAIL PROTECTED] Subject: Field label bug? Is this a bug wit