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', 'export' or 'dynamic' results in the
same behaviour. I can't remember having this with 4.02 or less...


Cheers,
Michael
BTW: ghc-4.04's parser generated by Friday's CVS happy
-- 
Don't worry, honey, just two more lemmas ...

Reply via email to