On 18 August 2010 05:04, Anthony Cowley <acow...@seas.upenn.edu> wrote:
> On Tue, Aug 17, 2010 at 2:54 PM, Andrew Coppin
> <andrewcop...@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.miljeno...@gmail.com
IvanMiljenovic.wordpress.com
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to