[commit: Cabal] master: Refactor installLocalPackage and installRepoPackages (2b60eb6)
Ian Lynagh
igloo at earth.li
Fri Jun 24 01:53:34 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/2b60eb6328728e8f360c76e86dbeb042545a1122
>---------------------------------------------------------------
commit 2b60eb6328728e8f360c76e86dbeb042545a1122
Author: Duncan Coutts <duncan at haskell.org>
Date: Wed May 7 18:01:08 2008 +0000
Refactor installLocalPackage and installRepoPackages
They share most code so pull the first and last bits out into the
top level install function. They now need 2 and 3 fewer params
respectively, which is a good sign. Rename them because they're
generating plans now rather than doing the installation directly.
cabal-install/Hackage/Install.hs | 109 +++++++++++++++++---------------------
1 files changed, 49 insertions(+), 60 deletions(-)
Diff suppressed because of size. To see it, use:
git show 2b60eb6328728e8f360c76e86dbeb042545a1122
More information about the Cvs-libraries
mailing list