{-# LINE 100 "Foo.hs #-} vs. # 100 "Foo.hs"

Marcin 'Qrczak' Kowalczyk qrczak@knm.org.pl
19 Jan 2001 07:54:34 GMT


Wed, 17 Jan 2001 02:39:53 -0800, Simon Marlow <simonmar@microsoft.com> pisze:

> Actually the cpp-style pragma is only recognised if the '#' is in the
> leftmost column and is followed by optional spaces and a digit.  It's
> quite hard to write one of these in a legal Haskell program, but not
> impossible.

It's enough to change Manuel's program to use {;} instead of layout.
But it won't happen in any real life program.

-- 
 __("<  Marcin Kowalczyk * qrczak@knm.org.pl http://qrczak.ids.net.pl/
 \__/
  ^^                      SYGNATURA ZASTĘPCZA
QRCZAK