john-science / slowloris

A DIY-LISP.
5 stars 3 forks source link

Sorting Options #26

Closed john-science closed 10 years ago

john-science commented 10 years ago

Instead of just giving the user a sort function in the standard library (for lists), I would prefer to give them a selection:

and possible others:

Let's trust the user to know which they want to use: https://en.wikipedia.org/wiki/Sorting_algorithm

john-science commented 10 years ago

Obviously, at some point, these things are going to bloat the stdlib.sl file sufficiently, it would be nice if the standard library could be more than one file. This could be done in Python, but I prefer to implement an import function in Slow Loris.