[commit: base] master: Fix typo in documentation of GHC.Exts.groupWith (d75c116)
Ian Lynagh
igloo at earth.li
Sun May 27 14:55:46 CEST 2012
Repository : ssh://darcs.haskell.org//srv/darcs/packages/base
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/d75c1167675053cd5123ea8384ebe83d9c10f3f6
>---------------------------------------------------------------
commit d75c1167675053cd5123ea8384ebe83d9c10f3f6
Author: Simon Hengel <sol at typeful.net>
Date: Thu May 10 10:44:36 2012 +0200
Fix typo in documentation of GHC.Exts.groupWith
>---------------------------------------------------------------
GHC/Exts.hs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/GHC/Exts.hs b/GHC/Exts.hs
index 0bf8f7f..8281895 100755
--- a/GHC/Exts.hs
+++ b/GHC/Exts.hs
@@ -102,7 +102,7 @@ sortWith :: Ord b => (a -> b) -> [a] -> [a]
sortWith f = sortBy (\x y -> compare (f x) (f y))
-- | The 'groupWith' function uses the user supplied function which
--- projects an element out of every list element in order to to first sort the
+-- projects an element out of every list element in order to first sort the
-- input list and then to form groups by equality on these projected elements
{-# INLINE groupWith #-}
groupWith :: Ord b => (a -> b) -> [a] -> [[a]]
More information about the Cvs-libraries
mailing list