gen.shrink {hedgehog} | R Documentation |
Helper to create a generator with a shrink function.
Description
shrinker takes an 'a and returns a vector of 'a.
Usage
gen.shrink(shrinker, g)
Arguments
shrinker |
a function takes an 'a and returning a vector of 'a. |
g |
a generator we wish to add shrinking to |
[Package hedgehog version 0.1 Index]