cc.journeyman.the-great-game.utils
TODO: write docs
deep-merge
(deep-merge & maps)
Recursively merges maps. Stolen from https://dnaeon.github.io/recursively-merging-maps-in-clojure/
make-target-filter
(make-target-filter targets)
Construct a filter which, when applied to a list of maps, will pass those which match these targets
, where each target is a tuple [key value].
value-or-default
(value-or-default m k dflt)
Return the value of this key k
in this map m
, or this dflt
value if there is none.