[Haskell-cafe] Replacing CPP [was: Current status of Mavericks CPP]
Ben Franksen
ben.franksen at online.de
Wed Apr 16 14:04:39 UTC 2014
Brandon Allbery wrote:
> 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.
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
More information about the Haskell-Cafe
mailing list