[commit: Cabal] master: Refactor installLocalPackage and installRepoPackages (8a4b03a)
Paolo Capriotti
p.capriotti at gmail.com
Tue May 8 00:02:07 CEST 2012
Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/8a4b03a40a4d554b987cbeb6b8048128b94ecfd4
>---------------------------------------------------------------
commit 8a4b03a40a4d554b987cbeb6b8048128b94ecfd4
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 8a4b03a40a4d554b987cbeb6b8048128b94ecfd4
More information about the Cvs-libraries
mailing list