gen.sized: Sized generator creation

Description Usage Arguments Examples

View source: R/gen.R

Description

Helper for making a gen with a size parameter. Pass a function which takes an int and returns a gen.

Usage

1

Arguments

f

the function, taking a size and returning a generator

Examples

1
gen.sized ( function(e) gen.element(1:e) )

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