Liking cljdoc? Tell your friends :D
All platforms.

instacheck.generators


freqclj/s

(freq id pairs)

Alternate version of standard frequency generator with the the weights sorted so that shrinking is to the higher weights first and then the earlier weights among those that are equal (Clojure sort is stable and will not re-order equal elements). To support removal of generator branches via weights this version also allows all the weights to be zero and will throw at runtime rather than a definition time.

Alternate version of standard frequency generator with the the
weights sorted so that shrinking is to the higher weights first and
then the earlier weights among those that are equal (Clojure sort is
stable and will not re-order equal elements). To support removal of
generator branches via weights this version also allows all the
weights to be zero and will throw at runtime rather than
a definition time.
sourceraw docstring

vector+clj/s

(vector+ gen)

Version of standard vector generator with at least one item

Version of standard vector generator with at least one item
sourceraw docstring

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

× close