(bigdec-cubic lo hi)Build a generator to pick a long distributed between lo and hi, both
inclusive. This generator has cubic biased toward hi.
Build a generator to pick a long distributed between `lo` and `hi`, both inclusive. This generator has cubic biased toward `hi`.
(boolean)Build a generator to pick random boolean values
Build a generator to pick random boolean values
(char)(char lo hi)Build a generator to pick a character uniformly distributed between lo and
hi, both inclusive. Without boundaries a printable ASCII character is
picked.
Build a generator to pick a character uniformly distributed between `lo` and `hi`, both inclusive. Without boundaries a printable ASCII character is picked.
(float)(float lo hi)Build a generator to pick a integer uniformly distributed between lo and
hi, both inclusive.
Build a generator to pick a integer uniformly distributed between `lo` and `hi`, both inclusive.
(format fmt & arg-gens)Build a generator for strings using a fmt as in clojure.core/format and
arg-gens generators as arguments.
Build a generator for strings using a `fmt` as in `clojure.core/format` and `arg-gens` generators as arguments.
(int)(int lo hi)Build a generator to pick a integer uniformly distributed between lo and
hi, both inclusive.
Build a generator to pick a integer uniformly distributed between `lo` and `hi`, both inclusive.
(int-cubic lo hi)Like bigdec-cubic but returns an int.
Like `bigdec-cubic` but returns an int.
(int-log lo hi)Build a generator to pick a long distributed between lo and hi, both
inclusive. This generator has logarithmic biased toward hi.
Build a generator to pick a long distributed between `lo` and `hi`, both inclusive. This generator has logarithmic biased toward `hi`.
(lines-resource n)Returns a collection by reading named resource n and spliting lines.
Returns a collection by reading named resource `n` and spliting lines.
(object m)Build a generator that returns a map
Build a generator that returns a map
(one-of coll)Build a generator to pick one of coll.
Build a generator to pick one of `coll`.
(one-of-each colls)Build a generator to pick one item from each collection in colls.
Build a generator to pick one item from each collection in `colls`.
(resource n)Return the full text from the named resource n.
Return the full text from the named resource `n`.
(string)Build a generator to pick random strings of characters.
Build a generator to pick random strings of characters.
(weighted m)Build a generator to pick one of weighted m.
For example: with {"foo" 2, "bar" 1} there's a 2 in 3 chance "foo"
will be picked.
Build a generator to pick one of weighted `m`.
For example: with `{"foo" 2, "bar" 1}` there's a 2 in 3 chance `"foo"`
will be picked.(weighted-set m)Build a generator to pick a set of weighted m.
TODO FIXME
Build a generator to pick a set of weighted `m`. TODO FIXME
(yaml-resource n)Returns YAML data from resource n.
Returns YAML data from resource `n`.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |