
13 Jul
2013
13 Jul
'13
1:22 p.m.
If you have an .hs file with {-# LANGUAGE CPP #-}, it is a compiler's job to detect it and run the preprocessor.
But haddock uses the GHC API (which knows how to do the above), so there shouldn't be issues with that.
Hey, you're right! Haddock *does* understand LANGUAGE CPP. Ok, that makes my question moot, sorry for the confusion! I think I was misled because my compile was failing for unrelated reasons that looked like CPP wasn't happening.