Some useful clojure functions