On Oct 3, 2008, at 04:55 , Simon Marlow wrote:
Duncan Coutts wrote:
I propose two solutions:
     * Fix the dependency resolver
     * Add support in Cabal and Hackage for suggested version
       constraints

Simon PJ just came up with a suggestion for the second part. The idea is this:

If we see a dependency like "base >= 3" with no upper limit, we should satisfy it with base-3 in preference to base-4, on the grounds that the package is much more likely to build with base-3. This seems to be a solution that works without any magic shims or "preference files" or anything else.


Choose the lowest available version that satisfies all of the constraints?

--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] [EMAIL PROTECTED]
system administrator [openafs,heimdal,too many hats] [EMAIL PROTECTED]
electrical and computer engineering, carnegie mellon university    KF8NH


_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to