
10 Dec
2014
10 Dec
'14
12:37 a.m.
On Tue, 9 Dec 2014, amindfv@gmail.com wrote:
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).
Wasn't this discussed already? If not, I have this function: http://hackage.haskell.org/package/utility-ht-0.0.10/docs/Data-List-Key.html...