Liking cljdoc? Tell your friends :D

squeeze.core


->stringclj

(->string x)
source

array-matcherclj

(array-matcher s)
source

coerce-configclj

(coerce-config schema data)

Validates and transforms, if possible, data against schema, dropping unknown keys.

Validates and transforms, if possible, `data` against `schema`, dropping unknown keys.
sourceraw docstring

config-coercion-matcherclj

(config-coercion-matcher schema)

A matcher that coerces keywords, keyword eq/enums, s/Num and s/Int, and long and doubles (JVM only) from strings, also removes unknown keys and parses strings as YAML where map is expected.

A matcher that coerces keywords, keyword eq/enums, s/Num and s/Int,
and long and doubles (JVM only) from strings, also removes unknown keys
and parses strings as YAML where map is expected.
sourceraw docstring

filter-schema-keysclj

(filter-schema-keys m schema-keys extra-keys-walker)
source

map-filter-matcherclj

(map-filter-matcher s)
source

map-remapclj

(map-remap keymap m)

(map-remap {:A :a} {:a 1 :b 2}) => {:A 1}

(map-remap {:A :a} {:a 1 :b 2}) => {:A 1}
sourceraw docstring

parse-yaml-str-keysclj

(parse-yaml-str-keys s)
source

remove-key-prefixclj

(remove-key-prefix prefix m)

(remove-key-prefix :db- {:db-port 1234}) => {:port 1234}

(remove-key-prefix :db- {:db-port 1234}) => {:port 1234}
sourceraw docstring

stringable-matcherclj

source

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

× close