Generate a value via a custom function
Returns a generator spec that draws a value by calling
fn(size) with the current generation size, so generators
can build on each other or on domain logic. fn may be any
callable value.
Function): A function from the
current size to a value.A generator spec.
g = prop_gen_fn(\(n) n * 2)