Case of "Language" pragma - bug?

Simon Peyton-Jones simonpj at
Wed Oct 31 06:55:19 EDT 2007

| "Pragmas all take the form {-# word ... #-} where word indicates the type of
| pragma, and is followed optionally by information specific to that type of
| pragma. Case is ignored in word."
| However, when I use "Language CPP" instead of "LANGUAGE CPP" in the pragma,
| the pragma is ignored.  Is this a documentation bug?
| The interesting question is which way it should work.  Obviously the
| documentation should match the code, but it isn't obvious (at least to me)
| whether it's better to modify the documentation or to change the behavior of
| the code.

Yes at the moment we allow
but not

We'll probably just change the documentation unless people yell loudly


More information about the Glasgow-haskell-users mailing list