Clojure utility functions – part I
Posted by Amit Rathore on November 22, 2012
Cross-posted from Zolo Labs.
I kept using an extra line of code for this, so I decided to create the following function:
https://gist.github.com/4123530
Another extra line of code can similarly be removed using this function:
https://gist.github.com/4123531
Obviously, the raw forms (i.e. using doseq or map) can be far more powerful when used with more arguments. Still, these simple versions cover 99.9% of my use-cases.
I keep both these (and a few more) in a handy utils.clojure namespace I created for just such functions.

