gen.run {hedgehog} | R Documentation |
Samples from a generator or list of generators producing a (single) lazy rose tree.
gen.run(generator, size)
generator |
A generator |
size |
The size parameter passed to the generation functions |
This is different to calling generarator$unGen(size) in that it also works on (nested) lists of generators and pure values.