[commit: Cabal] master: Trivial change to utils (65a47a0)

Ian Lynagh igloo at earth.li
Fri Jun 24 01:49:48 CEST 2011


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

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/65a47a0effc340fe6e87987513a50ce3c21fdd14

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

commit 65a47a0effc340fe6e87987513a50ce3c21fdd14
Author: Duncan Coutts <duncan at haskell.org>
Date:   Fri Jan 18 21:42:36 2008 +0000

    Trivial change to utils

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

 cabal-install/Hackage/Utils.hs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cabal-install/Hackage/Utils.hs b/cabal-install/Hackage/Utils.hs
index 2575a0d..84adc65 100644
--- a/cabal-install/Hackage/Utils.hs
+++ b/cabal-install/Hackage/Utils.hs
@@ -21,7 +21,7 @@ fileNotFoundExceptions e =
     ioErrors e >>= \ioe -> guard (isDoesNotExistError ioe) >> return ioe
 
 showDependencies :: [Dependency] -> String
-showDependencies = concat . intersperse ", " . map (show . showDependency)
+showDependencies = intercalate ", " . map (show . showDependency)
 
 equating :: Eq a => (b -> a) -> b -> b -> Bool
 equating p x y = p x == p y





More information about the Cvs-libraries mailing list