Module type IStdlib__PrettyPrintable.PPUniqRankSet
set where at most one element of a given rank can be present
val add : t -> elt -> tval empty : tval find_rank : t -> rank -> elt optionval fold : t -> init:'accum -> f:('accum -> elt -> 'accum) -> 'accumval fold_map : t -> init:'accum -> f:('accum -> elt -> 'accum * elt) -> 'accum * tval for_all : f:(elt -> bool) -> t -> boolval is_empty : t -> boolval is_singleton : t -> boolval is_subset : t -> of_:t -> boolval map : t -> f:(elt -> elt) -> tval singleton : elt -> tval elements : t -> elt listval remove : elt -> t -> tval mem : elt -> t -> boolval union_prefer_left : t -> t -> tin case an element with the same rank is present both in
lhsandrhs, keep the one fromlhsinunion_prefer_left lhs rhs