Liking cljdoc? Tell your friends :D

piotr-yuxuan.malli-cli.utils

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.
raw docstring

-make-formatclj

(-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.
sourceraw docstring

deep-mergeclj

(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}}

From https://github.com/BrunoBonacci/1config

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
sourceraw docstring

filter-keyclj

(filter-key keyfn pred amap)
source

remove-keyclj

(remove-key f m)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close