powered by
Helper for making a gen with a size parameter. Pass a function which takes an int and returns a gen.
gen.sized(f)
the function, taking a size and returning a generator
gen.sized ( function(e) gen.element(1:e) )
Run the code above in your browser using DataLab