Skip to content

Instantly share code, notes, and snippets.

@fogus fogus/q.clj
Created Jan 7, 2011

What would you like to do?
(defn qsort [[h & t]]
(when h
(concat (qsort (filter #(< % h) t))
(qsort (remove #(< % h) t)))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.