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