• (rewrite-=> fn form)

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/test.clj:34 top

(defn rewrite-=>
  [fn form]
  (let [c (count form)]
         (= (~fn ~@(apply vector (take (- c 2) form)))
            ~(last form)))))
Vars in circumspec.test/rewrite-=>: - apply defn fn last let take vector = concat list seq
Used in 0 other vars

Comments top

No comments for rewrite-=>. Log in to add a comment.