This commit is contained in:
Tommi Reiman 2018-08-10 08:09:40 +03:00
parent ed81c07da5
commit c1d8ec99d8

View file

@ -3,7 +3,7 @@
[muuntaja.middleware] [muuntaja.middleware]
[clojure.spec.alpha :as s])) [clojure.spec.alpha :as s]))
(s/def ::muuntaja (partial instance? m/Muuntaja)) (s/def ::muuntaja m/muuntaja?)
(s/def ::spec (s/keys :opt-un [::muuntaja])) (s/def ::spec (s/keys :opt-un [::muuntaja]))
(defn- displace [x] (with-meta x {:displace true})) (defn- displace [x] (with-meta x {:displace true}))