patch applied (cabal): Add packageName, packageVersion and use them

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Tue Mar 11 09:41:29 EDT 2008


Fri Mar  7 03:58:38 PST 2008  Duncan Coutts <duncan at haskell.org>
  * Add packageName, packageVersion and use them
  (pkgName . packageId) and (pkgVersion . packageId)
  turn out to be very common so give them names.

    M ./Distribution/InstalledPackageInfo.hs -4 +5
    M ./Distribution/Package.hs -2 +8
    M ./Distribution/PackageDescription.hs -1 +1
    M ./Distribution/PackageDescription/Check.hs -3 +4
    M ./Distribution/PackageDescription/Parse.hs -4 +6
    M ./Distribution/Simple/Build.hs -2 +3
    M ./Distribution/Simple/BuildPaths.hs -4 +5
    M ./Distribution/Simple/Compiler.hs -2 +2
    M ./Distribution/Simple/Configure.hs -2 +3
    M ./Distribution/Simple/GHC.hs -1 +1
    M ./Distribution/Simple/Hugs.hs -1 +1
    M ./Distribution/Simple/InstallDirs.hs -3 +4
    M ./Distribution/Simple/JHC.hs -2 +3
    M ./Distribution/Simple/LocalBuildInfo.hs -1 +1
    M ./Distribution/Simple/NHC.hs -5 +5
    M ./Distribution/Simple/PackageIndex.hs -13 +13
    M ./Distribution/Simple/Register.hs -2 +3
    M ./Distribution/Simple/Utils.hs -1 +1

View patch online:

  http://darcs.haskell.org/cabal/_darcs/patches/20080307115838-adfee-65b0011e46a729f38fbdc0a8388243e8b632d6c5.gz



More information about the cabal-devel mailing list