<p dir="ltr">There are some gems in compiler/utils/Util.hs too.</p>
<div class="gmail_quote">On Dec 9, 2014 4:50 PM,  <<a href="mailto:amindfv@gmail.com">amindfv@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">GHC.Exts contains a couple of really useful functions:<br>
<br>
groupWith :: (Ord b) => (a -> b) -> [a] -> [[a]]<br>
sortWith :: (a -> b) -> [a] -> [a]<br>
<br>
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).<br>
<br>
Tom<br>
_______________________________________________<br>
Libraries mailing list<br>
<a href="mailto:Libraries@haskell.org">Libraries@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/libraries" target="_blank">http://www.haskell.org/mailman/listinfo/libraries</a><br>
</blockquote></div>