(assoc-if m k v)
Performs an assoc if the specified value is not nil.
Performs an assoc if the specified value is not nil.
(conj-to-last lists x)
Given a list of lists, conjs the value x onto the last (as identified by the fn pop) inner list of the outer list
Given a list of lists, conjs the value x onto the last (as identified by the fn pop) inner list of the outer list
(deep-contains? data k)
Given a data structure, returns a boolean value indicating whether or not the structure contains that specified key at any level of nesting.
Given a data structure, returns a boolean value indicating whether or not the structure contains that specified key at any level of nesting.
(deep-dissoc data k)
Given a data structure, returns the same structure with the first found instance of the specified key removed
Given a data structure, returns the same structure with the first found instance of the specified key removed
(deep-get data k)
Given a data structure, returns the value of the first found instance of the specified key.
Given a data structure, returns the value of the first found instance of the specified key.
(deep-update-in-if data k f)
Given a data structure, returns the same structure with the value at the first instance of the specified key updated with the given function.
Given a data structure, returns the same structure with the value at the first instance of the specified key updated with the given function.
(fscalar f)
Given a function that expects a collection as the first argument, returns a function that, if passed something that isn't a collection, creates a new collection, adds the first arg to it, then applies the function
Given a function that expects a collection as the first argument, returns a function that, if passed something that isn't a collection, creates a new collection, adds the first arg to it, then applies the function
(mkstr base length)
Creates a new string be repeating the specifed based the specified number of times
Creates a new string be repeating the specifed based the specified number of times
(update-in-if m k-path f & args)
Performs an update-in if the key already exists in the map.
Performs an update-in if the key already exists in the map.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close