patch applied (cabal): Generalise InstalledPackageIndex over all Package instances

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Wed Feb 20 16:35:14 EST 2008


Wed Feb 20 11:10:31 PST 2008  Duncan Coutts <duncan at 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-5ba3b1117c94580268431ca80fddc6255e667054.gz



More information about the cabal-devel mailing list