(defmacro obj-to-map [obj & body] (let [afn (fn [[method kw]] `(~kw (~method ~obj)))] `(assoc {} ~@(mapcat afn (partition 2 body))))) ...
確定! 回上一頁