tree.replicate: Creating trees of lists

Description Usage Arguments

Description

Build a tree of a list, potentially keeping hold of an internal state.

Usage

1
2
3
tree.replicate(num, ma, ...)

tree.replicateS(num, ma, s, ...)

Arguments

num

the length of the list in the tree

ma

a function which (randomly) creates new tree to add to the list

...

extra arguments to pass to the tree generating function

s

a state used when replicating to keep track of.


hedgehog documentation built on May 2, 2019, 11:27 a.m.