[Haskell-cafe] getting haddock to cooperate with cpp

Brandon Allbery allbery.b at gmail.com
Fri Jul 12 20:50:12 CEST 2013


On Fri, Jul 12, 2013 at 2:25 PM, Evan Laforge <qdunkan at gmail.com> wrote:

> In the broader scheme, it seems perverse to be using CPP in the first
> place.  I use it to configure imports and exports, e.g. to swap out a
> driver backend on different OSes, and to export more symbols when
> testing.  Would it make sense to have a haskell version of CPP that
> provides only these features (e.g. just #ifdef, #else, #endif, and
> #define) and leaves out the problematic C comments and backslash
> expectations?
>

You mean http://hackage.haskell.org/package/cpphs ? (although I think it
may still do some of that stuff, it does far less than ANSI demands)

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20130712/bbebd14a/attachment.htm>


More information about the Haskell-Cafe mailing list