more quirks...

1999-07-04 Thread Michael Weber
Hi! now, this is interesting: \begin{code} data Foo label = Const main = print 1 \end{code} "ghc-4.04 -c test.hs" works, but "ghc-4.04 -fglasgow-exts -c test.hs" yields: Foo label test.hs:2: Illegal data/newtype declaration Compilation had errors Instead of 'label', using 'unsafe',

RE: more quirks...

1999-07-04 Thread Simon Marlow
now, this is interesting: \begin{code} data Foo label = Const main = print 1 \end{code} "ghc-4.04 -c test.hs" works, but "ghc-4.04 -fglasgow-exts -c test.hs" yields: Foo label test.hs:2: Illegal data/newtype declaration When you compile with -fglasgow-exts, several more