(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 builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |