This function only needs implementation if t exposed to be a polymorphic variant.
Despite what the type reads, this does *not* produce a function after reading;
instead it takes the constructor tag (int) before reading and reads the rest of the
variant t afterwards.
Decimal. Output is truncated (not rounded) to nine decimal places, so may be lossy.
Consider using sexp_of_t if you need lossless stringification.
Rounds toward zero. None if the conversion would overflow
Rounds toward zero. None if the conversion would overflow
gen_between ~with_undefined ~lower_bound ~upper_bound generates a Quickcheck
generator like gen, but restricted to values satisfying lower_bound and
upper_bound, plus the undefined value if with_undefined is true. If no values
satisfy lower_bound and upper_bound, raises an exception.