(>f f)combinator that swaps first two args to a function.
the > is meant as a mnemonic for this arg swapping: sort sorts ascending
by default but you can reverse the order with >
combinator that swaps first two args to a function. the `>` is meant as a mnemonic for this arg swapping: `sort` sorts ascending by default but you can reverse the order with `>`
(apply-update base path update-val)(compose base updates)(map->updates m)helper that converts a map to the updates form needed to apply updates. lets you write your updates in the shape of the base structure if you're into that kind of thing.
helper that converts a map to the updates form needed to apply updates. lets you write your updates in the shape of the base structure if you're into that kind of thing.
use this when you want to prefer the left side of a compose
use this when you want to prefer the left side of a compose
(orf & args)or as a function so that it can be treated as a value
or as a function so that it can be treated as a value
(update f & args)(updater f)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 |