Liking cljdoc? Tell your friends :D

curly.core


all-permutationsclj

(all-permutations things)

ascclj


build-trieclj

(build-trie seed & kvs)

compare-byclj

(compare-by & key-cmp-pairs)

compare-revclj

(compare-rev a b)

Compare reverse order

Compare reverse order
raw docstring

descclj


fisher-p-valueclj

(fisher-p-value w x y z)

Fisher exact test. | Outcome 1 | Outcome 2 | Total G1 | w | x | w+x G2 | y | z | y+z Total | w+y | x+z | w+x+y+z

Fisher exact test.
      | Outcome 1 | Outcome 2 | Total
G1    |    w      |    x      | w+x
G2    |    y      |    z      | y+z
Total |   w+y     |   x+z     | w+x+y+z
raw docstring

flatten-mapclj

(flatten-map form separator)
(flatten-map form separator pre)

Flatten a map of maps, joining keys with separator. From http://stackoverflow.com/questions/17901933/flattening-a-map-by-join-the-keys

Flatten a map of maps, joining keys with separator. From http://stackoverflow.com/questions/17901933/flattening-a-map-by-join-the-keys
raw docstring

gpg-decryptclj

(gpg-decrypt file)

gzip?clj

(gzip? file-name)

True if file is a gzip file.

True if file is a gzip file.
raw docstring

log-factorialclj

(log-factorial)
(log-factorial n)

log-factorial function that memoizes results in an atom cache. Called without any args it resets its cache.

log-factorial function that memoizes results in an atom cache.
Called without any args it resets its cache.
raw docstring

luhn?clj

(luhn? n)

map-fn-key-setclj

(map-fn-key-set map fun)

Apply fun to a map then make a map of first key with set of second key

Apply fun to a map then make a map of first key with set of second key
raw docstring

map-orclj

(map-or f c1 c2)
(map-or f c1 c2 c3)

Returns a lazy sequence consisting of the result of applying f to the set of first items of each coll, followed by applying f to the set of second items in each coll. Different to map, it continues until all of the colls are exhausted. Any missing items in other colls are treated as nil values. Function f should accept number-of-colls arguments.

Returns a lazy sequence consisting of the result of applying f to the
set of first items of each coll, followed by applying f to the set
of second items in each coll. Different to map, it continues until all of the colls are
exhausted. Any missing items in other colls are treated as nil values. Function
f should accept number-of-colls arguments.
raw docstring

map-rev-2-keysclj

(map-rev-2-keys map)

Reverse two levels of keys of a map

Reverse two levels of keys of a map
raw docstring

nan?clj

(nan? x)

one?clj


prefix-matchclj

(prefix-match target trie)

read-ednclj

(read-edn file)

Read EDN data from file

Read EDN data from file
raw docstring

redircljmacro

(redir filename & body)

Redirect out to filename and evaluate body

Redirect *out* to filename and evaluate body
raw docstring

reverse-pairclj

(reverse-pair [a b])

Reverse a pair vector

Reverse a pair vector
raw docstring

starts-with-ignore-case?clj

(starts-with-ignore-case? s prefix)

True if string s starts with prefix ignoring case.

True if string s starts with prefix ignoring case.
raw docstring

string-spliceclj

(string-splice target new offset)
(string-splice target new offset length)

Create a new string with the old substring replaced by a new substring. Given three arguments, replace a portion of the old string at the given offset equal to the length of the replacement. The resulting string will be the same length as the original.

Create a new string with the old substring replaced by a new substring.
Given three arguments, replace a portion of the old string at the given
offset equal to the length of the replacement. The resulting string will
be the same length as the original.
raw docstring

sum-secondclj

(sum-second pair-seq)

Sum the second values of a sequence of pairs (eg, a vector of pairs)

Sum the second values of a sequence of pairs (eg, a vector of pairs)
raw docstring

sum-valsclj

(sum-vals pair-seq)

Sum the values of a sequence of pairs (eg, a map or vector of pairs)

Sum the values of a sequence of pairs (eg, a map or vector of pairs)
raw docstring

version-compareclj

(version-compare v1 v2)

Compare two numeric version strings with elements separated by dots.

Compare two numeric version strings with elements separated by dots.
raw docstring

z-scoreclj

(z-score val & [{:keys [mean sd] :or {mean 0 sd 1}}])

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

× close