(gen-set max-complexity)
Build a set generator (like gen/set) that uses a max-complexity to limit the size of the generated sequences. Note that this overrides optional inputs like quantity or min/max such that max-complexity is honored.
WARNING: Does not conform to gen/set spec, do not redef gen/set with this function.
Build a set generator (like gen/set) that uses a max-complexity to limit the size of the generated sequences. Note that this overrides optional inputs like quantity or min/max such that max-complexity is honored. WARNING: Does not conform to gen/set spec, do not redef gen/set with this function.
(gen-vector max-complexity)
Build a vector generator (like gen/vector) that uses a max-complexity to limit the size of the generated sequences. Note that this overrides optional inputs like quantity or min/max such that max-complexity is honored.
WARNING: Does not conform to gen/vector spec, do not redef gen/vector with this function.
Build a vector generator (like gen/vector) that uses a max-complexity to limit the size of the generated sequences. Note that this overrides optional inputs like quantity or min/max such that max-complexity is honored. WARNING: Does not conform to gen/vector spec, do not redef gen/vector with this function.
(generator schema & args)
WARNING: Overrides gen/vector with a non-conformant function.
Alternative to schema-generators.generators/generator that limits the size of generated vectors (complex objects can take too long to generate). Note that it uses with-redefs to replace the vector generator with gen-vector (see above).
WARNING: Overrides gen/vector with a non-conformant function. Alternative to schema-generators.generators/generator that limits the size of generated vectors (complex objects can take too long to generate). Note that it uses with-redefs to replace the vector generator with gen-vector (see above).
WARNING: Does not conform to gen/set spec, do not redef gen/set with this function.
WARNING: Does not conform to gen/set spec, do not redef gen/set with this function.
WARNING: Does not conform to gen/vector spec, do not redef gen/vector with this function.
WARNING: Does not conform to gen/vector spec, do not redef gen/vector with this function.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close