patch applied (cabal): Generalise InstalledPackageIndex over all Package instances
Wed Feb 20 11:10:31 PST 2008 Duncan Coutts <duncan@haskell.org> * Generalise InstalledPackageIndex over all Package instances New Package class of things that can be identified by a PackageIdentifier so that covers at least PackageIdentifier, PackageDescription and InstalledPackageInfo. Most PackageIndex operations work for any package type. ./Distribution/Simple/InstalledPackageIndex.hs -> ./Distribution/Simple/PackageIndex.hs M ./Cabal.cabal -1 +1 M ./Distribution/Simple/Configure.hs -8 +10 M ./Distribution/Simple/GHC.hs -4 +4 M ./Distribution/Simple/Haddock.hs -2 +2 M ./Distribution/Simple/JHC.hs -5 +5 M ./Distribution/Simple/LocalBuildInfo.hs -2 +3 M ./Distribution/Simple/PackageIndex.hs -55 +81 View patch online: http://darcs.haskell.org/cabal/_darcs/patches/20080220191031-adfee-5ba3b1117...
participants (1)
-
Duncan Coutts