Proposal: move (group|sort)With to Data.List

David Feuer david.feuer at gmail.com
Tue Dec 9 21:58:24 UTC 2014


There are some gems in compiler/utils/Util.hs too.
On Dec 9, 2014 4:50 PM, <amindfv at 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).
>
> Tom
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://www.haskell.org/mailman/listinfo/libraries
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20141209/172e2e24/attachment.html>


More information about the Libraries mailing list