[Haskell-cafe] Replacing CPP [was: Current status of Mavericks CPP]
Brandon Allbery
allbery.b at gmail.com
Wed Apr 16 13:47:37 UTC 2014
On Wed, Apr 16, 2014 at 9:19 AM, Ben Franksen <ben.franksen at online.de>wrote:
> Erik Hesselink wrote:
> > One conditional compilation feature that's used relatively often and
> > not covered by your earlier proposal is bounds checks on libraries
> > through cabal. It could be handled the same way as GHC versions, of
> > course, but I think the triple of version numbers is a bit more
> > 'correct' and flexible.
>
> Can you point me to an example or some documentation? I am not too familiar
> with advanced cabal usage...
http://www.haskell.org/cabal/users-guide/developing-packages.html#conditional-compilation
which is actually the most common use of -XCPP in my experience, so it
really needs to be supported.
--
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/20140416/654f4be1/attachment.html>
More information about the Haskell-Cafe
mailing list