Liking cljdoc? Tell your friends :D

thosmos.util


<<<clj/s

(<<< f & args)

checkclj

(check type data)

conjvclj/s

(conjv coll val)

conjv!clj/s


dissoc-inclj/s

(dissoc-in m [k & ks :as keys])

Dissociates an entry from a nested associative structure returning a new nested structure. keys is a sequence of keys. Any empty maps that result will not be present in the new structure.

Dissociates an entry from a nested associative structure returning a new
nested structure. keys is a sequence of keys. Any empty maps that result
will not be present in the new structure.
raw docstring

eager-mapcatclj

(eager-mapcat f coll)

format-instantclj

(format-instant instant)
(format-instant instant format)

functionizeclj/smacro

(functionize macro)

if-posclj/s

(if-pos v)

if-pos?clj/s

(if-pos? v)

inc!clj/s

(inc! val)

index-byclj/s

(index-by key-fn coll)

limit-fnclj/s

(limit-fn quantity coll)
(limit-fn quantity start-from coll)

Collection pagination mimicking the MySql LIMIT

Collection pagination mimicking the MySql LIMIT
raw docstring

match-filesclj

(match-files f pattern)

meanclj/s

(mean a)

merge-treeclj/s

(merge-tree a b)

nest-byclj/s

(nest-by ks coll)

ns-kwclj/s

(ns-kw ns nm)

parse-dateclj

(parse-date date-str)

parse-urlcljs

(parse-url url)

Parse url into a hash map.

Parse `url` into a hash map.
raw docstring

percent-precclj/s

(percent-prec avg stddev)

ppstrclj/s

(ppstr foo)

round2clj/s

(round2 precision d)

Round a double to the given precision (number of significant digits)

Round a double to the given precision (number of significant digits)
raw docstring

sort-maps-byclj/s

(sort-maps-by ms ks)

Sort a sequence of maps (ms) on multiple keys (ks)

Sort a sequence of maps (ms) on multiple keys (ks)
raw docstring

spitppclj

(spitpp f foo)

squareclj/s

(square n)

std-devclj/s

(std-dev a)

t->clj/smacro

(t-> x & forms)

Threads the expr through the forms. Inserts x as the second item in the first form, making a list of it if it is a lambda or not a list already. If there are more forms, inserts the first form as the second item in second form, etc.

Threads the expr through the forms. Inserts x as the second item
in the first form, making a list of it if it is a lambda or not a
list already. If there are more forms, inserts the first form as the
second item in second form, etc.
raw docstring

t->>clj/smacro

(t->> x & forms)

Threads the expr through the forms. Inserts x as the last item in the first form, making a list of it if it is a lambda or not a list already. If there are more forms, inserts the first form as the last item in second form, etc.

Threads the expr through the forms. Inserts x as the last item
in the first form, making a list of it if it is a lambda or not a
list already. If there are more forms, inserts the first form as the
last item in second form, etc.
raw docstring

unchunkclj

(unchunk s)

vec-addclj/s

(vec-add pos thing coll)

vec-removeclj/s

(vec-remove pos coll)

walk-directoryclj

(walk-directory dir pattern)

walk-modify-k-valsclj/s

(walk-modify-k-vals m k f)

walk-remove-nsclj/s

(walk-remove-ns map)

zoned-datetime-from-instantclj

(zoned-datetime-from-instant ins)

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

× close