| "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
        LANGUAGE
        language
but not
        Language
or
        LanGUAge

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

Simon
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to