Given a symbol returns :assert-expr-sym, :pred-sym and :pred.
:assert-expr-sym
is used to construct the is
form to preserve clojure.tes/assert-expr behaviour.:pred
is used to assert validity on compile time.:pred-sym
is used to assert validity on runtime.These nuances exist for interoperability between clj and cljs runtime.
Given a symbol returns :assert-expr-sym, :pred-sym and :pred. - `:assert-expr-sym` is used to construct the `is` form to preserve clojure.tes/assert-expr behaviour. - `:pred` is used to assert validity on compile time. - `:pred-sym` is used to assert validity on runtime. These nuances exist for interoperability between clj and cljs runtime.
(simplify val)
Transforms records into maps and Sequential collections into sets, identity otherwise.
NOTE: this will remove duplicates
Transforms records into maps and Sequential collections into sets, identity otherwise. NOTE: this will remove duplicates
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close