Ticket #5947: 0001-Fix-typo-in-Data.List.-documentation.patch

File 0001-Fix-typo-in-Data.List.-documentation.patch, 0.9 KB (added by nomeata, 14 months ago)
  • Data/List.hs

    From 1c6818b6e690666e205f7cd24ddfaad3c8fe5594 Mon Sep 17 00:00:00 2001
    From: Joachim Breitner <mail@joachim-breitner.de>
    Date: Fri, 16 Mar 2012 21:53:50 +0100
    Subject: [PATCH] Fix typo in Data.List.(\\) documentation
    
    ---
     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 b  
    376376deleteBy _  _ []        = [] 
    377377deleteBy eq x (y:ys)    = if x `eq` y then ys else y : deleteBy eq x ys 
    378378 
    379 -- | The '\\' function is list difference ((non-associative). 
     379-- | The '\\' function is list difference (non-associative). 
    380380-- In the result of @xs@ '\\' @ys@, the first occurrence of each element of 
    381381-- @ys@ in turn (if any) has been removed from @xs@.  Thus 
    382382--