
Could we please only change the subject of threads when it's
necessary? It confuses my mail reader which then confuses me. Of
course it's not your fault I choose to use an easily confused mail
reader, but at the same time I don't understand the point of changing
the subject of the thread. And not just this thread; I see it happen
fairly often but this thread seems to have done it a lot in a short
period of time making it a good example.
Jason
On 11/21/06, Henning Thielemann
On Tue, 21 Nov 2006, Matthias Fischmann wrote:
On Tue, Nov 21, 2006 at 09:53:09AM +0100, Ketil Malde wrote:
sortBy ((. tail . fst) . compare . tail . fst)
this would actually be a nice thing to have in the standard libraries:
sortOn :: (Ord b) => (a -> b) -> [a] -> [a] sortOn f = sortBy $ (.f) . compare . f
http://www.haskell.org/pipermail/libraries/2006-November/006169.html _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe