[commit: Cabal] master: Change Dependency module to use the LocalIndex ADT (8b38e9c)

Paolo Capriotti p.capriotti at gmail.com
Mon May 7 23:58:27 CEST 2012


Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/8b38e9c20c57d9400f4e30fa856430570400205f

>---------------------------------------------------------------

commit 8b38e9c20c57d9400f4e30fa856430570400205f
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 8b38e9c20c57d9400f4e30fa856430570400205f



More information about the Cvs-libraries mailing list