
9 Dec
2014
9 Dec
'14
9:58 p.m.
There are some gems in compiler/utils/Util.hs too.
On Dec 9, 2014 4:50 PM,
GHC.Exts contains a couple of really useful functions:
groupWith :: (Ord b) => (a -> b) -> [a] -> [[a]] sortWith :: (a -> b) -> [a] -> [a]
There seems to be no reason why they wouldn't be -- more sensibly -- in Data.List. I propose we move them (and "the" while we're at it).
Tom _______________________________________________ Libraries mailing list Libraries@haskell.org http://www.haskell.org/mailman/listinfo/libraries