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

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/858f1c86fc1034fb769a1cdf63be9e49069d67b5

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

commit 858f1c86fc1034fb769a1cdf63be9e49069d67b5
Author: Duncan Coutts <[email protected]>
Date:   Wed Dec 10 22:31:06 2008 +0000

    Use (\_ -> []) instead of mempty to avoid funky Monoid instance
    This would let us build with ghc-6.4 or nhc if it were not for other issues.

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

 cabal-install/Distribution/Client/Setup.hs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cabal-install/Distribution/Client/Setup.hs 
b/cabal-install/Distribution/Client/Setup.hs
index e44117d..758b38f 100644
--- a/cabal-install/Distribution/Client/Setup.hs
+++ b/cabal-install/Distribution/Client/Setup.hs
@@ -260,7 +260,7 @@ checkCommand = CommandUI {
     commandDescription  = Nothing,
     commandUsage        = \pname -> "Usage: " ++ pname ++ " check\n",
     commandDefaultFlags = toFlag normal,
-    commandOptions      = mempty
+    commandOptions      = \_ -> []
   }
 
 reportCommand :: CommandUI (Flag Verbosity)



_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to