RE: Problems building hat with ghc-5.04

2002-07-23 Thread Simon Peyton-Jones
| data Test = Test { field :: Int } deriving (Eq,Show,Read) | main = print (Test {field=(-1)}) | | in ghc-5.02.2: | Test{field=(-1)} | | in ghc-5.04: | Test {field=-1} Ah yes, and that lexes wrong: the "=-" is one lexeme. Solution: put spaces round the '=' sign. Will be fixed!

Re: Problems building hat with ghc-5.04

2002-07-23 Thread Malcolm Wallace
> > When building hat with ghc-5.04 I got the following error: > > Thus, it would appear that the program (hat-trans) compiled with 5.04 > exhibits different behaviour from the same program compiled with 5.02.2. > So I would guess that this is a bug in GHC, not in Hat. Here are some more details