package extlib

  1. Overview
  2. Docs
val store_const : ?default:'a -> 'a -> 'a Opt.t
val store_true : unit -> bool Opt.t
val store_false : unit -> bool Opt.t
val count_option : ?dest:int ref -> ?increment:int -> unit -> int Opt.t
val incr_option : ?dest:int ref -> unit -> int Opt.t
val decr_option : ?dest:int ref -> unit -> int Opt.t
val int_option : ?default:int -> ?metavar:string -> unit -> int Opt.t
val float_option : ?default:float -> ?metavar:string -> unit -> float Opt.t
val str_option : ?default:string -> ?metavar:string -> unit -> string Opt.t
val int_callback : ?metavar:string -> (int -> unit) -> unit Opt.t
val float_callback : ?metavar:string -> (float -> unit) -> unit Opt.t
val str_callback : ?metavar:string -> (string -> unit) -> unit Opt.t
val help_option : unit -> 'a Opt.t
val version_option : (unit -> string) -> 'a Opt.t
OCaml

Innovation. Community. Security.