(eval-transform mode from to)
Like transform
but allows creating a transformer at run time.
Evil warning: uses eval
.
Like [[transform]] but allows creating a transformer at run time. Evil warning: uses `eval`.
(transform from to)
(transform mode from to)
Return a function which transforms from from
map shape to to
.
Can generate different modes of transformer:
:poly
: uses get
to extract values from maps.:unchecked
: uses .valAt for ILookup access directly. Will NPE on nil
.:checked
: like unchecked but with nil checks.Return a function which transforms from `from` map shape to `to`. Can generate different modes of transformer: - `:poly`: uses `get` to extract values from maps. - `:unchecked`: uses .valAt for ILookup access directly. Will NPE on `nil`. - `:checked`: like unchecked but with nil checks.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close