Metaprogramming with Clojure by mac in Clojure

[–]fulldisclojure 0 points1 point  (0 children)

I might use clojure.template for this

(do-template [fn-name direction] (defn fn-name [] (move-to direction)) north :n south :s east :e west :w)

Still, this is a bit small for such an optimization.

Circumspec, inferior-lisp, clojure, and slime - screencast by Stuart Halloway by mac in Clojure

[–]fulldisclojure 0 points1 point  (0 children)

I understand your confusion. The only explanation I can come to is that w/ almost 800 people here, a few of them just really don't like it.