[commit: Cabal] master: Trivial change to utils (034fa3e)

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


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

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/034fa3ed7e2a1ddf7416627065f2afb4ec46a96d

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

commit 034fa3ed7e2a1ddf7416627065f2afb4ec46a96d
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