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 builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close