module Make: functor (
M
:
Make_arg
) ->
S
with type t = Int63.t
Flags.Make
builds a new flags module. If there is an error in the
known
flags,
it behaves as per
on_error
.
We expose type t = int
in the result of Flags.Make
so that one can easily use
flag constants as values of the flag type without having to coerce them. It is
typical to hide the t = int
in another signature S
.
type
t
val of_int : int -> t
val to_int_exn : t -> int
val equal : t -> t -> bool
val empty : t
val (+) : t -> t -> t
val (-) : t -> t -> t
val intersect : t -> t -> t
val complement : t -> t
val do_intersect : t -> t -> bool
val are_disjoint : t -> t -> bool
val sexp_of_t : t -> Sexplib.Sexp.t