Move these general purpose functions to util. Use clojure argument naming conventions where possible.