Liking cljdoc? Tell your friends :D

no.en.core


base64-decodeclj/s

(base64-decode s)

Returns s as a Base64 decoded string.

Returns `s` as a Base64 decoded string.
sourceraw docstring

base64-encodeclj/s

(base64-encode bytes)

Returns s as a Base64 encoded string.

Returns `s` as a Base64 encoded string.
sourceraw docstring

byte-scaleclj/s

source

compact-mapclj/s

(compact-map m)

Removes all map entries where the value of the entry is empty.

Removes all map entries where the value of the entry is empty.
sourceraw docstring

deep-mergeclj/s

(deep-merge & maps)

Like merge, but merges maps recursively.

Like merge, but merges maps recursively.
sourceraw docstring

deep-merge-withclj/s

(deep-merge-with f & maps)

Like merge-with, but merges maps recursively, applying the given fn only when there's a non-map at a particular level.

Like merge-with, but merges maps recursively, applying the given fn
only when there's a non-map at a particular level.
sourceraw docstring

format-query-paramsclj/s

(format-query-params m)

Format the map m into a query parameter string.

Format the map `m` into a query parameter string.
sourceraw docstring

format-urlclj/s

(format-url m)

Format the Ring map as an url.

Format the Ring map as an url.
sourceraw docstring

map-keysclj/s

(map-keys f coll)

Maps a function over the keys of an associative collection.

Maps a function over the keys of an associative collection.
sourceraw docstring

map-valsclj/s

(map-vals f coll)

Maps a function over the values of an associative collection.

Maps a function over the values of an associative collection.
sourceraw docstring

parse-bytesclj/s

(parse-bytes s)
source

parse-doubleclj/s

(parse-double s)

Parse s as a double number.

Parse `s` as a double number.
sourceraw docstring

parse-floatclj/s

(parse-float s)

Parse s as a float number.

Parse `s` as a float number.
sourceraw docstring

parse-integerclj/s

(parse-integer s)

Parse s as a integer number.

Parse `s` as a integer number.
sourceraw docstring

parse-longclj/s

(parse-long s)

Parse s as a long number.

Parse `s` as a long number.
sourceraw docstring

parse-percentclj/s

(parse-percent s)

Parse s as a percentage.

Parse `s` as a percentage.
sourceraw docstring

parse-query-paramsclj/s

(parse-query-params s)

Parse the query parameter string s and return a map.

Parse the query parameter string `s` and return a map.
sourceraw docstring

parse-urlclj/s

(parse-url s)

Parse the url s and return a Ring compatible map.

Parse the url `s` and return a Ring compatible map.
sourceraw docstring

pattern-quoteclj/s

(pattern-quote s)

Quote the special characters in s that are used in regular expressions.

Quote the special characters in `s` that are used in regular expressions.
sourceraw docstring

port-numberclj/s

source

powclj/s

(pow n x)
source

prog1clj/s≠macro

clj
(prog1 & body)
cljs
(prog1 &form &env & body)
source

public-urlclj/s

(public-url url)

Return the formatted url without password as a string.

Return the formatted `url` without password as a string.
sourceraw docstring

separatorclj/s

(separator s)

Returns the first string that separates the components in s.

Returns the first string that separates the components in `s`.
sourceraw docstring

split-by-commaclj/s

(split-by-comma s)

Split the string s by comma.

Split the string `s` by comma.
sourceraw docstring

split-by-regexclj/s

(split-by-regex s pattern)

Split the string s by the regex pattern.

Split the string `s` by the regex `pattern`.
sourceraw docstring

url-decodeclj/s

(url-decode s & [encoding])

Returns s as an URL decoded string.

Returns `s` as an URL decoded string.
sourceraw docstring

url-encodeclj/s

(url-encode s & [encoding])

Returns s as an URL encoded string.

Returns `s` as an URL encoded string.
sourceraw docstring

url-regexclj/s

source

utf8-stringclj/s

(utf8-string bytes)

Returns bytes as an UTF-8 encoded string.

Returns `bytes` as an UTF-8 encoded string.
sourceraw docstring

with-retriesclj/s≠macro

clj
(with-retries n & body)
cljs
(with-retries &form &env n & body)

Executes body. If an exception is thrown, will retry. At most n retries are done. If still some exception is thrown it is bubbled upwards in the call chain.

Executes body. If an exception is thrown, will retry. At most n retries
are done. If still some exception is thrown it is bubbled upwards in
the call chain.
sourceraw docstring

with-retries*clj/s

(with-retries* n thunk)

Executes thunk. If an exception is thrown, will retry. At most n retries are done. If still some exception is thrown it is bubbled upwards in the call chain.

Executes thunk. If an exception is thrown, will retry. At most n retries
are done. If still some exception is thrown it is bubbled upwards in
the call chain.
sourceraw docstring

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

× close