package core
Module Stable.V2Source
This format is not round-trippable as sexp. Only accurate up to 6 significant digits when going via sexp. This is the format used by Percent.sexp_of_t and Percent.to_string (think user interfaces). Read the comment above at V1 for details.
include Bin_prot.Binable.S with type t := t
include Bin_prot.Binable.S_only_functions with type t := t
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.