gen.run: Run a generator

Description Usage Arguments Details

View source: R/gen.R

Description

Samples from a generator or list of generators producing a (single) lazy rose tree.

Usage

1
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.


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