Pragma not recognised when wrapped in #ifdef
colinpauladams at googlemail.com
Wed Feb 11 04:06:09 EST 2009
Is there still a need for CPP now that Template Haskell exists?
2009/2/11 Simon Peyton-Jones <simonpj at microsoft.com>:
> | Perhaps CPP shouldn't be a pragma, just a command-line flag? It seems
> | to be the only one that affects/involves preprocessor(s). AFAICT, the
> | others all affect the haskell compiler stage.
> Yes, it does seem anomalous. I suppose the motivation is that some modules might need CPP and some not, and it's convenient for the module itself to announce that fact.
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
More information about the Glasgow-haskell-users