Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/07c3e7c46d81d46be1a1dc7f4edfac6d48ddb388

>---------------------------------------------------------------

commit 07c3e7c46d81d46be1a1dc7f4edfac6d48ddb388
Author: Duncan Coutts <[email protected]>
Date:   Sat Mar 26 17:16:58 2011 +0000

    Generalise the constraint set ADT in a couple ways
    We now track target packages and only require constraints on those
    targets to be satisfiable. This allows us to overconstrain packages
    that we do not care about, which is useful for excluding broken
    packages.
    We also now have a more general way of specifying constraints.
    Previously constraints were specified as the conjunction of a version
    range predicate and an optional installed constraint. This form made
    it impossible to express constraints such as "exclude this source
    package". Constraints for a package name are now specified simply by
    a function predicate on the package version and installed/source state.

 .../Distribution/Client/Dependency/TopDown.hs      |   48 +-
 .../Client/Dependency/TopDown/Constraints.hs       |  625 ++++++++++++++------
 .../Client/Dependency/TopDown/Types.hs             |    7 +-
 cabal-install/Distribution/Client/PackageIndex.hs  |   11 +-
 4 files changed, 496 insertions(+), 195 deletions(-)


Diff suppressed because of size. To see it, use:

    git show 07c3e7c46d81d46be1a1dc7f4edfac6d48ddb388

_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to