Liking cljdoc? Tell your friends :D

impedance.transform


deftransformcljmacro

(deftransform name from to)
(deftransform name mode from to)
source

eval-transformclj

(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`.
sourceraw docstring

transformcljmacro

(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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close