seq
function
clojure.test.check.rose-tree/seq
(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.
Examples
No examples yet. Be the first to add one!