[PATCH] Fix typo in documentation of GHC.Exts.groupWith
Simon Hengel
sol at typeful.net
Thu May 10 10:44:36 CEST 2012
---
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]]
--
1.7.5.4
More information about the Libraries
mailing list