
17 Aug
2010
17 Aug
'10
9:55 p.m.
On 18 August 2010 05:04, Anthony Cowley
On Tue, Aug 17, 2010 at 2:54 PM, Andrew Coppin
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@gmail.com IvanMiljenovic.wordpress.com