specify!

macrosince v0.0-2156Edit
(specify! expr & impls)

Source docstring:
Identical to reify but mutates its first argument.
Source code @ clojurescript:src/main/clojure/cljs/core.cljc
(core/defmacro specify!
  [expr & impls]
  (core/let [x (with-meta (gensym "x") {:extend :instance})]
    `(let [~x ~expr]
       (extend-type ~x ~@impls)
       ~x)))