[commit: Cabal] master: Change Dependency module to use the LocalIndex ADT (58693e1)
Ian Lynagh
igloo at earth.li
Fri Jun 24 01:49:57 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/58693e1a4e681f49fb48e3426be74ccf46c9725c
>---------------------------------------------------------------
commit 58693e1a4e681f49fb48e3426be74ccf46c9725c
Author: Duncan Coutts <duncan at haskell.org>
Date: Fri Jan 18 22:07:03 2008 +0000
Change Dependency module to use the LocalIndex ADT
The whole Dependency module is pure now, no IO since it takes the indexes
as arguments, rather than the many more args required to do the IO to load
up the indexes. Much nicer. Also update all callers.
cabal-install/Hackage/Dependency.hs | 116 ++++++++++++++---------------------
cabal-install/Hackage/Fetch.hs | 15 +++--
cabal-install/Hackage/Info.hs | 7 ++-
cabal-install/Hackage/Install.hs | 14 +++-
cabal-install/Hackage/Upgrade.hs | 13 +++-
5 files changed, 83 insertions(+), 82 deletions(-)
Diff suppressed because of size. To see it, use:
git show 58693e1a4e681f49fb48e3426be74ccf46c9725c
More information about the Cvs-libraries
mailing list