patch applied (cabal): generalise remaining PackageIndex functions
over class of pkgs with fixed deps
Duncan Coutts
duncan.coutts at worc.ox.ac.uk
Wed Feb 20 16:35:16 EST 2008
Wed Feb 20 11:51:43 PST 2008 Duncan Coutts <duncan at haskell.org>
* generalise remaining PackageIndex functions over class of pkgs with fixed deps
Add a class for packages with fixed deps, like InstalledPackageInfo and
generalise the few functions that used PackageIndex InstalledPackageInfo
specifically to use PackageFixedDeps pkg => PackageIndex pkg
This will be helpful in cabal-install for configured but not-yet-installed
packages.
M ./Distribution/Simple/Configure.hs -7 +9
M ./Distribution/Simple/PackageIndex.hs -24 +32
View patch online:
http://darcs.haskell.org/cabal/_darcs/patches/20080220195143-adfee-af43b3db4fb9f1e5b4b2404e5e3217ab90c6a09a.gz
More information about the cabal-devel
mailing list