Proposal #2659: Add sortOn and friends to Data.List

Wolfgang Jeltsch g9ks157k at acme.softbase.org
Tue Oct 7 07:17:04 EDT 2008


Am Sonntag, 5. Oktober 2008 20:34 schrieb Duncan Coutts:
> I think fewer names and more combinations is usually best unless there
> is a really compelling reason. Just because things are often used in
> combination doesn't mean we have to make a new name to represent that
> composition. As functional programmers we are very used to using
> composition, especially simple function application.

I fully agree!

The identifiers of the proposed new functions are rather systematic.  So why 
not use the means of the language (combining higher-order functions) to 
express the underlying structure instead of relying on naming conventions and 
boilerplate code?

Best wishes,
Wolfgang


More information about the Libraries mailing list