patch applied (cabal): Add thisPackageVersion and
notThisPackageVersion
Duncan Coutts
duncan.coutts at worc.ox.ac.uk
Thu May 29 06:46:43 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/cabal/_darcs/patches/20080529092607-adfee-77f07ee66ea1b6873e440789fa50452b091d688c.gz
More information about the cabal-devel
mailing list