
11 Dec
2014
11 Dec
'14
8:33 a.m.
On 2014-12-09 at 22:50:30 +0100, 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).
fyi, https://ghc.haskell.org/trac/ghc/ticket/2659 & https://ghc.haskell.org/trac/ghc/ticket/9004