patch applied (packages/Cabal): Add thisPackageVersion and notThisPackageVersion

Ian Lynagh igloo at earth.li
Thu Jun 26 16:34:07 EDT 2008


Thu May 29 02:26:07 PDT 2008  Duncan Coutts <duncan at haskell.org>
  * Add thisPackageVersion and notThisPackageVersion
  Util functions for makeing dependencies from package identifiers.
  thisPackageVersion    (foo-1.0) = foo ==1.0
  notThisPackageVersion (foo-1.0) = foo /=1.0
  The latter is handy as a constraint in dependency resolution.

    M ./Distribution/Package.hs -1 +12

View patch online:
http://darcs.haskell.org/packages/Cabal/_darcs/patches/20080529092607-adfee-77f07ee66ea1b6873e440789fa50452b091d688c.gz


More information about the Cvs-libraries mailing list