Hi, Am 10.08.2009 um 03:24 schrieb jvt:
(defmacro with-a-b-c [m & body] `(let [mp# ,mp] a (:a mp#) b (:b mp#) c (:c mp#)] ~...@body)) Is this a more "idiomatic" solution or a more "lispy" one, or am I laboring under a misunderstanding?
I find this not very elegant. Tomorrow you need b, c and d, so you write another macro. Then you f, g, a and x and write another macro.... As a minor point: above you probably meant binding for a, b and c. Having a solution, which solves this problem once and for all, is more interesting. Sincerely Meikel
smime.p7s
Description: S/MIME cryptographic signature