package re2
Module Stable.V2Source
V2 serializes, compares and hashes the pattern and the all currently known options, except max_mem. If Re2 gained a new option, we would have to mint a V3.t as the V2 format would not support this option. How we support such an upgrade (raise, drop the option, smash the tree) will have to considered then.
include Core.Stable_comparable.With_stable_witness.V1
with type t := t
and type comparator_witness = Re2__.Regex.comparator_witness
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.
include Core.Comparator.Stable.V1.S
with type t := t
with type comparator_witness = Re2__.Regex.comparator_witness
val comparator : (t, comparator_witness) Core.Comparator.Stable.V1.comparatorinclude Core.Comparable.Stable.V1.With_stable_witness.S
with type comparable := t
with type comparator_witness := comparator_witness
Source
module Map :
Core.Map.Stable.V1.With_stable_witness.S
with type key := t
with type comparator_witness := comparator_witnessSource
module Set :
Core.Set.Stable.V1.With_stable_witness.S
with type elt := t
with type elt_comparator_witness := comparator_witness