Not to mention humor -- there's a reference in SQLite to Golding's Lord of the Flies -- and I'm guessing more.
I won't comment on how quicksort-y this is, but the combination of pattern matching and recursion is bread-and-butter Haskell. A number of seemingly complex algorithms can be implemented in a similar way. Having said…
Not to mention humor -- there's a reference in SQLite to Golding's Lord of the Flies -- and I'm guessing more.
I won't comment on how quicksort-y this is, but the combination of pattern matching and recursion is bread-and-butter Haskell. A number of seemingly complex algorithms can be implemented in a similar way. Having said…