ghc-4.08 (the current version in
http://www.haskell.org/ghc/dist/4.08/ghc-4.08-i386-unknown-linux.tar.gz)
compiles the following program without error:

> module Main(main) where
> main = main
> data Foo = baz

According to the Haskell 98 report, this is not legal Haskell. Are
there are any Glasgow extensions making this program legal Glasgow
Haskell?

Tim

-- 
Tim Geisler                                       Tel.: +49/89/2178-2234
LMU, Institut fuer Informatik                     FAX : +49/89/2178-2211
LFE Programmier- und Modellierungssprachen              Oettingenstr. 67
mailto:[EMAIL PROTECTED]           D-80538 Muenchen
http://www.informatik.uni-muenchen.de/~Tim.Geisler

Reply via email to