
Brandon Allbery wrote:
On Wed, Apr 16, 2014 at 9:19 AM, Ben Franksen
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#conditiona...
which is actually the most common use of -XCPP in my experience, so it really needs to be supported.
I see. Thanks. I'll have to think some more about how to support that w/o unduly complicating everything. Cheers Ben -- "Make it so they have to reboot after every typo." -- Scott Adams