A namespace to deal with simple maps (nestable) holding data only, nested functions are interpreted as updates not values.
A namespace to deal with simple maps (nestable) holding data only, nested functions are interpreted as updates not values.
Deeply merge several maps together using noon.utils.maps/value-merge.
Deeply merge several maps together using `noon.utils.maps/value-merge`.
(->upd x)Turns a function or a map into a map update.
Turns a function or a map into a map update.
(check m b)Check if the result of updating m using b is a deeply truthy map.
Check if the result of updating `m` using `b` is a deeply truthy map.
(match m x)Check if the map m is matching with x.
x can either be
m can return a deeply truthy map indicating a match,m
subvalues of x can be regular values that will be check for equality
or functions that will be applyed to corresponding subvalues of m in order to determine
if the match is successful or not.Check if the map `m` is matching with `x`. `x` can either be - a function that,when applied to `m` can return a deeply truthy map indicating a match, - another map from which each subvalues will be match against corresponding subvalues of `m` subvalues of `x` can be regular values that will be check for equality or functions that will be applyed to corresponding subvalues of `m` in order to determine if the match is successful or not.
Thread m through given updates.
Updates has to be valid arguments to the noon.utils.maps/->upd function.
Thread `m` through given updates. Updates has to be valid arguments to the `noon.utils.maps/->upd` function.
(upd_ & fs)Compose several map updates together.
Compose several map updates together.
(value-merge x y)The function used to merge values of maps
The function used to merge values of maps
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 |