[commit: base] ghc-7.4: Fix typo in Data.List.(\\) documentation (5f1eb19)

Paolo Capriotti p.capriotti at gmail.com
Mon Mar 19 19:47:38 CET 2012


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

On branch  : ghc-7.4

http://hackage.haskell.org/trac/ghc/changeset/5f1eb19cfd1def35bbe7ef631443d2b723adca12

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

commit 5f1eb19cfd1def35bbe7ef631443d2b723adca12
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Fri Mar 16 21:53:50 2012 +0100

    Fix typo in Data.List.(\\) documentation
    
    MERGED from commit 8ebe8ccec8a1fad49e5e608611b951c63eefb376

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

 Data/List.hs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Data/List.hs b/Data/List.hs
index 55e3dd2..9f5001f 100644
--- a/Data/List.hs
+++ b/Data/List.hs
@@ -376,7 +376,7 @@ deleteBy                :: (a -> a -> Bool) -> a -> [a] -> [a]
 deleteBy _  _ []        = []
 deleteBy eq x (y:ys)    = if x `eq` y then ys else y : deleteBy eq x ys
 
--- | The '\\' function is list difference ((non-associative).
+-- | The '\\' function is list difference (non-associative).
 -- In the result of @xs@ '\\' @ys@, the first occurrence of each element of
 -- @ys@ in turn (if any) has been removed from @xs at .  Thus
 --





More information about the Cvs-libraries mailing list