Re: Floats don't like to be referenced [was: Buggy derived instance of Show]

1998-01-29 Thread Jon Mountjoy
Manuel Chakravarty writes: > Scary, but true...the floats in my version of ghc don't like > to be referenced. The program > > data MassPnt = MassPnt Float (Float, Float) >deriving (Show) > > main = do > print 1.18088e+11-- (1) >

Floats don't like to be referenced [was: Buggy derived instance of Show]

1998-01-29 Thread Manuel Chakravarty
Scary, but true...the floats in my version of ghc don't like to be referenced. The program data MassPnt = MassPnt Float (Float, Float) deriving (Show) main = do print 1.18088e+11-- (1) let x = 1.18088e+11