Clojure utility functions