Function to add to Data.List

Carter Schonwald carter.schonwald at gmail.com
Mon Apr 7 01:39:28 UTC 2014


+1 here, seems like a nice design


On Sun, Apr 6, 2014 at 9:02 PM, Edward Kmett <ekmett at gmail.com> wrote:

> There is some precedent for 'sortOn' as the naming convention should we
> choose to go ahead with it.
>
> http://lukepalmer.wordpress.com/2009/07/01/on-the-by-functions/
>
> 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.
>
> +1 from me.
>
> -Edward
>
>
> On Sun, Apr 6, 2014 at 4:34 PM, <johnw at newartisans.com> wrote:
>
>> >>>>> Niklas Haas <haskell at nand.wakku.to> writes:
>>
>> >> Oh yes, 'sortOn' is a really nice name. :)
>>
>> > Huh, that name just reminded me of GHC.Exts.sortWith:
>>
>> Either of the names sortOn, or sortWith, sound good.  I think I prefer
>> sortWith.
>>
>> John
>> _______________________________________________
>> Libraries mailing list
>> Libraries at haskell.org
>> http://www.haskell.org/mailman/listinfo/libraries
>>
>
>
> _______________________________________________
> 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/20140406/2a0593e8/attachment-0001.html>


More information about the Libraries mailing list