float generator (no nan, inf, etc.)
character generator
natural number generator
unsigned int generator (uniform random in range min_int, max_int)
generator that always returns given value
laws iter gen func
applies func
repeatedly (iter
times) on output
of gen
, and if func
ever returns false, then the input that caused
the failure is returned optionally.
Like laws, but throws an exception instead of returning an option.