Thu Aug  6 06:18:29 PDT 2009  Simon Marlow <[email protected]>
  * Add a unuque identifier for installed packages (part 4 of 9)
  Ignore-this: cd1f965c30d3dbd26dd184b3fd126163
  
  Distribution.Simple.LocalBuildInfo: 
  
    - the LocalBuildInfo record contains an index of the installed
      packages; this has changed from PackageIndex InstalledPackageInfo
      to InstalledPackageIndex.
  
    - ComponentLocalBuildInfo stores the "external package dependencies"
      of the component, which was 
        componentPackageDeps :: [PackageId]
      and is now
        componentInstalledPackageDeps :: [InstalledPackageId]
  
    - we now export
        componentPackageDeps :: LocalBuildInfo -> [PackageId]
      (since to get the PackageId for an InstalledPackageId, you need
      to look it up in the InstalledPackageIndex, which is in the
      LocalBuildInfo)
  
    - similarly, previously
        externalPackageDeps :: LocalBuildInfo -> [PackageId]
      is now
        externalPackageDeps :: LocalBuildInfo -> [InstalledPackageId]

    M ./Distribution/Simple/LocalBuildInfo.hs -8 +24

View patch online:
http://darcs.haskell.org/cabal/_darcs/patches/20090806131829-12142-c7c92257c4debec227bf495915342fde6e1b66d8.gz

_______________________________________________
cabal-devel mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cabal-devel

Reply via email to