grenada.things.utils
Wrappers around well-known functions in order to make them work with
guten-tag.core/ATaggedVals.
assoc-when
(assoc-when tv k v)
Like clj::plumbing.core/assoc-when, but for ATaggedVals.
conj
(conj)
(conj [t m :as tm] & xs)
Like Same as clj::clojure.core/conj, but for ATaggedVals.
fmap
(fmap f [t v])
Applies F to the val part of an ATaggedVal and returns an ATaggedVal with the
same tag and the result of the application.
Something like the morphism morphism (metamorphism?) of the ATaggedVal
functor.
merge-with-key
(merge-with-key f & tms)
Like Same as clj::plumbing.map/merge-with-key but for ATaggedVals.
safe-get
(safe-get [_ v] k)
Like clj::plumbing.core/safe-get, but for ATaggedVals.
safe-get-in
(safe-get-in [_ v] ks)
Like clj::plumbing.core/safe-get, but for ATaggedVals.
safe-select-keys
(safe-select-keys [_ v] ks)
Like clj::plumbing.map/safe-select-keys, but for ATaggedVals.
select-keys
(select-keys [t m :as tm] keyseq)
Like clj::clojure.core/select-keys, but for ATaggedVals.