build.clj

Branches > refactor/use-spec-1 > b236355 > files / src / dev / grahp / build.clj

(ns dev.grahp.build)

(defmacro build
  "Builds up a map of pairs using 'for'."
  {:clj-kondo/lint-as 'clojure.core/for}
  [bindings & body]
  `(into {}
         (for ~bindings
           ~@body)))