Liking cljdoc? Tell your friends :D

clojure.test.check.rose-tree

A lazy tree data structure used for shrinking.

A lazy tree data structure used for shrinking.
raw docstring

halfsiesclj/s

(halfsies f roses)

make-roseclj/s

(make-rose root children)

seqclj/s

(seq rose)

Create a lazy-seq of all of the (unique) nodes in a shrink-tree. This assumes that two nodes with the same value have the same children. While it's not common, it's possible to create trees that don't fit that description. This function is significantly faster than brute-force enumerating all of the nodes in a tree, as there will be many duplicates.

Create a lazy-seq of all of the (unique) nodes in a shrink-tree.
This assumes that two nodes with the same value have the same children.
While it's not common, it's possible to create trees that don't
fit that description. This function is significantly faster than
brute-force enumerating all of the nodes in a tree, as there will
be many duplicates.
raw docstring

shrink-vectorclj/s

(shrink-vector f roses)

shrink-vector*clj/s

(shrink-vector* f roses)

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

× close