package spotlib

  1. Overview
  2. Docs
type ('a, 'err) opt
module Error : sig ... end
val nullary : char option -> string option -> 'a -> ('a, 'err) opt
val unary : char option -> string option -> (string -> ('a, 'err) result) -> ('a, 'err) opt
val parse : ([> `Anon of string ] as 'a, [> `Ambiguous of string * string * string | `Requires_argument of string | `Nullary_takes_argument of string | `Unknown of string ] as 'err) opt list -> string list -> ('a list, 'err) result
OCaml

Innovation. Community. Security.