Up

Module Var

Signature

type 'a t
val register : ?choices:string list -> string -> string option t
val register_with_default : ?choices:string list -> string -> default:string -> string t
val peek : ?dont_trigger:unit -> 'a t -> 'a
val map : 'a t -> f:('a -> 'b) -> 'b t