<div dir="ltr">+1 regardless of name<div><br></div><div>-1 for adding RULEs<br><div><div><br></div><div>I think the documentation should note how this function differs from 'sortBy (comparing f)' (apologies if this has already been discussed, I don't see it).</div>
</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Apr 6, 2014 at 6:02 PM, Edward Kmett <span dir="ltr"><<a href="mailto:ekmett@gmail.com" target="_blank">ekmett@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">There is some precedent for 'sortOn' as the naming convention should we choose to go ahead with it.<div>
<br></div><div><a href="http://lukepalmer.wordpress.com/2009/07/01/on-the-by-functions/" target="_blank">http://lukepalmer.wordpress.com/2009/07/01/on-the-by-functions/</a><br>
</div><div><br></div><div>Having some mechanism by which we can explicitly request the Schwartzian transform like that as opposed to 'element by element' By functions strikes me personally as a good idea and sufficiently non-trivial to pass the "Fairbairn threshold" in my book.</div>

<div><br></div><div>+1 from me.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-Edward</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">
On Sun, Apr 6, 2014 at 4:34 PM,  <span dir="ltr"><<a href="mailto:johnw@newartisans.com" target="_blank">johnw@newartisans.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>>>>>> Niklas Haas <<a href="mailto:haskell@nand.wakku.to" target="_blank">haskell@nand.wakku.to</a>> writes:<br>


<br>
>> Oh yes, 'sortOn' is a really nice name. :)<br>
<br>
</div><div>> Huh, that name just reminded me of GHC.Exts.sortWith:<br>
<br>
</div>Either of the names sortOn, or sortWith, sound good.  I think I prefer<br>
sortWith.<br>
<br>
John<br>
<div><div>_______________________________________________<br>
Libraries mailing list<br>
<a href="mailto:Libraries@haskell.org" target="_blank">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>
</div></div></blockquote></div><br></div>
</div></div><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>
<br></blockquote></div><br></div>