On 18 August 2010 05:04, Anthony Cowley <[email protected]> wrote: > On Tue, Aug 17, 2010 at 2:54 PM, Andrew Coppin > <[email protected]> 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 [email protected] IvanMiljenovic.wordpress.com _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
