Reply to post: Sort in a functional language

At the feet of the Great Monad, or, How the functional programming craze plays out

Anonymous Coward
Anonymous Coward

Sort in a functional language

I just use "array.sorted", but I'm sure that there are much more complicated ways to achieve the same thing. ;-)

A functional version of quicksort is only about 7 lines long, and the implementation is very close to the abstract algorithm, making use of recursion.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon