darcs patch: Change dependency resolution algorithm. (and 2 more)

Thomas Schilling nominolo at googlemail.com
Sun Apr 13 09:33:58 EDT 2008

Sun Apr 13 15:18:07 CEST 2008  Thomas Schilling <nominolo at gmail.com>
  * Change dependency resolution algorithm.
  There were two reasons to do this.  Firstly, this formulation makes it
  easier to add the --constraint command line flag that adds additional
  constraints on the packages that should be used.
  Secondly, with the orgininal algorithm it was possible to satisfy the
  constraint "foo < 1, foo > 2" if we had two versions of package "foo"
  which each satisfy one constraint.  This patch fixes this by requiring
  the same package to satisfy both constraints (which of course is
  impossible in this case).

Sun Apr 13 15:18:39 CEST 2008  Thomas Schilling <nominolo at gmail.com>
  * Fix/Add documentation.

Sun Apr 13 15:20:02 CEST 2008  Thomas Schilling <nominolo at gmail.com>
  * Add simple test case for the dependency resolution case.  This should
  go into the test suite one day.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 7245 bytes
Desc: A darcs patch for your repository!
Url : http://www.haskell.org/pipermail/cabal-devel/attachments/20080413/a48a93c7/attachment.bin

More information about the cabal-devel mailing list