Balanced API library in Clojure