RE: Language.Haskell.Parser and layout rules

On 17 February 2005 14:18, Malcolm Wallace wrote:
Ross Paterson
writes: The Report (section 9.3, especially notes 1 and 2) says "A nested context must be further indented than the enclosing context", so this is illegal. GHC and Hugs have innovated here, ...
I see you are using "innovated" here in the Microsoft sense, meaning "undocumented and incompatible departure from standards". :-)
You're right it's undocumented. I'll fix that. Is nhc98 fully compliant with the H98 layout rule? There are some good tests in testsuite/tests/ghc-regress/parser, BTW. I can't build nhc98 here, I keep getting ... ghc-6.2.2: unknown package name: exts make[1]: *** [/home/simonmar/tmp/nhc98-1.16/targets/ix86-Linux/obj/hmake/QSort.o] Error 1 make[1]: Leaving directory `/home/simonmar/tmp/nhc98-1.16/src/hmake' make: *** [targets/ix86-Linux/hmake-ghc] Error 2 Cheers, Simon
participants (1)
-
Simon Marlow