[Haskell-cafe] k-minima in Haskell

ajb at spamcop.net ajb at spamcop.net
Thu Apr 12 21:09:41 EDT 2007


G'day all.

Quoting Kurt Hutchinson <kelanslists at gmail.com>:

> For my own edification, what is the benefit of this sortWith over sortBy?

None.  I wanted to write my own sort, illustrating how the lazy
evaluation thing works, and I didn't want a name clash with an
existing library function.

Cheers,
Andrew Bromage


More information about the Haskell-Cafe mailing list