base

Full standard library replacement for OCaml
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library base
Module Base . Set . Named
type nonrec ('a, 'cmp) t = {
set : ( 'a, 'cmp ) t;
name : string;
}
val is_subset : ( 'a, 'cmp ) t -> of_:( 'a, 'cmp ) t -> unit Or_error.t

is_subset t1 ~of_:t2 returns Ok () if t1 is a subset of t2 and a human-readable error otherwise.

val equal : ( 'a, 'cmp ) t -> ( 'a, 'cmp ) t -> unit Or_error.t

equal t1 t2 returns Ok () if t1 is equal to t2 and a human-readable error otherwise.