Haskell Platform proposal: Add the vector package
rl at cse.unsw.edu.au
Tue Jun 19 00:06:47 BST 2012
On 18/06/2012, at 23:20, Henning Thielemann wrote:
> On Mon, 18 Jun 2012, Roman Leshchinskiy wrote:
>> VECTOR_BOUNDS_CHECKS is defined in vector.cabal as follows:
>> if flag(BoundsChecks)
>> cpp-options: -DVECTOR_BOUNDS_CHECKS
>> Doesn't Cabal provide access to the flags that a package has been compiled with?
> Do you mean this way:
Indeed. I'm surprised Cabal doesn't provide this. But now I'm confused. How do I export a CPP symbol that depends on a flag to other packages? Do I have to generate a header file during configuration for that?
More information about the Haskell-platform