(call-through x)
Recursively call x until it doesn't return a function.
Recursively call x until it doesn't return a function.
(default-sizer)
Default sizer used to run tests. If you want a specific distribution, create your own and pass it to a fn that wants a sizer.
Default sizer used to run tests. If you want a specific distribution, create your own and pass it to a fn that wants a sizer.
(geometric p)
Geometric distribution with mean 1/p.
Geometric distribution with mean 1/p.
(hash-map fk fv)
(hash-map fk fv sizer)
Create a hash-map with keys from fk, vals from fv, and sized from sizer.
Create a hash-map with keys from fk, vals from fv, and sized from sizer.
(keyword)
(keyword sizer)
Create a non-namespaced keyword sized from sizer.
Create a non-namespaced keyword sized from sizer.
(list f)
(list f sizer)
Create a list with elements from f and sized from sizer.
Create a list with elements from f and sized from sizer.
(rand-nth coll)
Replacement of core/rand-nth that allows control of the randomization basis (through binding rnd).
Replacement of core/rand-nth that allows control of the randomization basis (through binding *rnd*).
(reps sizer f)
Returns sizer repetitions of f (or (f) if f is a fn).
Returns sizer repetitions of f (or (f) if f is a fn).
(set f)
(set f sizer)
Create a set with elements from f and sized from sizer.
Create a set with elements from f and sized from sizer.
(string)
(string f)
(string f sizer)
Create a string with chars from v and sized from sizer.
Create a string with chars from v and sized from sizer.
(symbol)
(symbol sizer)
Create a non-namepsaced symbol sized from sizer.
Create a non-namepsaced symbol sized from sizer.
(uniform)
(uniform lo hi)
Uniform distribution from lo (inclusive) to high (exclusive). Defaults to range of Java long.
Uniform distribution from lo (inclusive) to high (exclusive). Defaults to range of Java long.
(vec f)
(vec f sizer)
Create a vec with elements from f and sized from sizer.
Create a vec with elements from f and sized from sizer.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close