News for hackers. Stuff that matters.
Re:Is there an algorithm as beautiful as a poem? by Sharlin on Sunday June 16, 2024 @03:28AM (#40695319)
Also the two-line "quicksort":

  qsort [] = []
  qsort pivot : xs = qsort [x <- xs, x < pivot] : pivot : qsort [x <- xs, x >= pivot]

There are no comments on this comment yet.