Module Builder.Variant_choice

Variant functors

Functor to map a string choice --- i.e., just one out of a set of possible value --- into a variant type.

Parameters

module P : sig ... end

Signature

type t = P.t
val set : t -> unit
val get : unit -> t
val is_set : unit -> bool
val is_default : unit -> bool