for-these

circumspec

  • (for-these names expr & table)

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source circumspec/for.clj:3 top

(defmacro for-these [names expr & table]
  `(do
     ~@(map
        (fn [args]
          `(let [~@(interleave names args)] ~expr ))
        (partition (count names) table))))
Vars in circumspec/for-these: count defmacro fn interleave map partition apply concat let list seq vector
Used in 0 other vars

Comments top

No comments for for-these. Log in to add a comment.