Skip to main content

clojure.test.check.rose-tree

-

  • ->RoseTree

    Positional factory function for class clojure.test.check.rose_tree.RoseTree.

B

  • bind

    Takes a Rose tree (m) and a function (k) from values to Rose tree and returns a new Rose tree. This is the monadic b...

C

  • children

    Returns the children of the root of the Rose tree.

  • collapse

    Return a new rose-tree whose depth-one children are the children from depth one _and_ two of the input tree.

F

  • filter

    Returns a new Rose tree whose values pass `pred`. Values who do not pass `pred` have their children cut out as well.

  • fmap

    Applies functions `f` to all values in the tree.

J

  • join

    Turn a tree of trees into a single tree. Does this by concatenating children of the inner and outer trees.

M

P

  • permutations

    Create a seq of vectors, where each rose in turn, has been replaced by its children.

  • pure

    Puts a value `x` into a Rose tree, with no children.

R

  • root

    Returns the root of a Rose tree.

S

  • seq

    Create a lazy-seq of all of the (unique) nodes in a shrink-tree. This assumes that two nodes with the same value have ...

Z

  • zip

    Apply `f` to the sequence of Rose trees `roses`.