
19 Sep
2003
19 Sep
'03
9:27 a.m.
OPTIONS pragmas are only looked for at the top of your source files, upto the first (non-literate,non-empty) line not containing OPTIONS.
Why doesn't "non-empty" include comment-only lines?
One concrete reason for this is that the code which looks for '{-# OPTIONS' isn't the full Haskell lexer, so it doesn't understand comments. We could make it understand comments, but that adds extra complication (nested comments, maximal munch for '--' comments, etc.). Cheers, Simon