General functions and utilities that could be part of clojure standard library, but aren't.
General functions and utilities that could be part of clojure standard library, but aren't.
(-make-format lens)
Given a sequence of column widths, return a string suitable for use in format to print a sequences of strings in those columns.
Given a sequence of column widths, return a string suitable for use in format to print a sequences of strings in those columns.
(deep-merge & maps)
It merges maps recursively. It merges the maps from left to right and the right-most value wins. It is useful to merge the user defined configuration on top of the default configuration. example:
(deep-merge {:foo 1 :bar {:baz 2}}
{:foo 2 :bar {:baz 1 :qux 3}})
;;=> {:foo 2, :bar {:baz 1, :qux 3}}
It merges maps recursively. It merges the maps from left to right and the right-most value wins. It is useful to merge the user defined configuration on top of the default configuration. example: ``` clojure (deep-merge {:foo 1 :bar {:baz 2}} {:foo 2 :bar {:baz 1 :qux 3}}) ;;=> {:foo 2, :bar {:baz 1, :qux 3}} ``` From https://github.com/BrunoBonacci/1config
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close