Module Core_kernel.Flags
include Core_kernel__.Flags_intf.Flags
module type Make_arg = Core_kernel__.Flags_intf.Make_arg
module type S = Core_kernel__.Flags_intf.S
val create : bit:Core_kernel__.Import.int -> Int63.t
create ~bit:n
creates a flag with then
th 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-
.