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

PrelTup

1998-04-20 Thread Manuel Chakravarty
Hi Glaswegians, [This is not necessarily a bug; nevertheless, any advice would be appreciated.] During linking of a (big) Happy generate file, I ended up with a linker message like KCParser.o(.text+0x41a9f): undefined reference to

Confusing error message

1998-02-17 Thread Manuel Chakravarty
Hi GHC-Developers! I encountered a confusing error message, which you can reproduce with type P a = Maybe a instance Monad P where (=) = error "foo" return = error "bar" I get bug.hs:5: `P' should have 1 argument, but has been given 0 . with ** ghc 2.05 ** (maybe

Re: Confusing error message

1998-02-18 Thread Manuel Chakravarty
I encountered a confusing error message, which you can reproduce with type P a = Maybe a instance Monad P where (=) = error "foo" return = error "bar" I get bug.hs:5: `P' should have 1 argument, but has been given 0 . Would it be better if it said

Re: ghc Diagnostics

1997-10-14 Thread Manuel Chakravarty
Simon Marlow wrote: I take your point that this isn't very consistent: there should be a way to turn off all warnings easily. What do other people think? The options are: * have all warnings off by default, a standard set of warnings being available by adding the -W