[Haskell-cafe] getting haddock to cooperate with cpp

Roman Cheplyaka roma at ro-che.info
Fri Jul 12 22:11:21 CEST 2013


* Evan Laforge <qdunkan at gmail.com> [2013-07-12 14:25:00-0400]
> So haddock ignores {-# LANGUAGE CPP #-}, which makes it crash on any
> file that uses it.

I'm pretty sure it's not true in general.

If you click on the "Source" link at this haddock page:

http://hackage.haskell.org/packages/archive/smallcheck/0.6.2/doc/html/Test-SmallCheck-Series.html

you'll see that CPP is used there.

Roman



More information about the Haskell-Cafe mailing list