Module Core_kernel.Flags

See flags_intf.ml for documentation.

include Core_kernel__.Flags_intf.Flags

create ~bit:n creates a flag with the nth bit set. n must be between 0 and 62.

Typically a flag has one bit set; create is useful in exactly those cases. For flags with multiple bits one can either define the Int63.t directly or create it in terms of simpler flags, using + and -.

module Make : functor (M : Make_arg) -> S with type t = Core_kernel__.Flags_intf.Int63.t

Flags.Make builds a new flags module. If there is an error in the known flags, it behaves as per on_error.