[Haskell-cafe] Re: Sifflet dependencies

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Tue Aug 17 21:55:33 EDT 2010


On 18 August 2010 05:04, Anthony Cowley <acowley at seas.upenn.edu> wrote:
> On Tue, Aug 17, 2010 at 2:54 PM, Andrew Coppin
> <andrewcoppin at btinternet.com> wrote:
>> While we're on the subject... Suppose I have a package, which I know works
>> with foo-8.7.2. What should the Cabal dependents field say? We have a choice
>> of
>>
>>  foo == 8.7.2
>>  foo >= 8.7.2
>>  foo >= 8.7
>>  foo >= 8.7 && < 8.8
>>  foo == 8.7.*
>
> I'd like to add another option since it's the one I use,
>
> foo >= 8.7.2 && < 8.8

If the package in question uses features added in version 8.7.2 of foo
(and foo follows the PVP), then this is the correct syntax to use.
If, however, it will also build with 8.7, then ">= 8.7 && < 8.8" (or
just "== 8.7.*") should be used.

-- 
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
IvanMiljenovic.wordpress.com


More information about the Haskell-Cafe mailing list