jon.recoil.org

Module Tag.Set

type t
val is_empty : Flambda2_kinds.Tag.Set.t -> bool

union_sharing s1 s2 is union s1 s2, with maximal sharing of the result with s1.

union_shared s1 s2 is union_sharing s1 s2, with a fast path for shared subsets of s1 and s2.

diff_sharing s1 s2 is diff s1 s2, with maximal sharing of the result with s1.

diff_shared s1 s2 is diff_sharing s1 s2, with a fast path for shared subsets of s1 and s2.

val fold : (Flambda2_kinds.Tag.Set.elt -> 'a -> 'a) -> Flambda2_kinds.Tag.Set.t -> 'a -> 'a
val for_all : (Flambda2_kinds.Tag.Set.elt -> bool) -> Flambda2_kinds.Tag.Set.t -> bool
val exists : (Flambda2_kinds.Tag.Set.elt -> bool) -> Flambda2_kinds.Tag.Set.t -> bool
val cardinal : Flambda2_kinds.Tag.Set.t -> int
val to_string : Flambda2_kinds.Tag.Set.t -> string