-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | A Haskell sorting toolkit -- -- A library of general-purpose sorting utilities. @package sort @version 0.0.0.1 module Data.Sort -- | sort a list of elements with a stable sort, grouping together the -- equal elements with the argument grouping function groupSort :: Ord a => (a -> [a] -> b) -> [a] -> [b] -- | sort a list of elements with a stable sort, using the argument -- compare function determine the ordering, grouping together -- the equal elements with the grouping function groupSortWith :: (a -> a -> Ordering) -> (a -> [a] -> b) -> [a] -> [b]