On Wed, Apr 16, 2014 at 9:19 AM, Ben Franksen <ben.franksen@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@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net