package alba

  1. Overview
  2. Docs

Parameters

Signature

type a = A.t
type key = string
type doc = string
type spec =
  1. | Unit of a -> a
  2. | String of string -> a -> a
  3. | Int of int -> a -> a
type anon = string -> a -> a
type error =
  1. | Unknown_option of string
  2. | Missing_argument of key * spec * doc
  3. | Invalid_argument of key * spec * doc * string
val parse : string array -> a -> (key * spec * doc) list -> anon -> (a, error) result
val string_of_error : error -> string
val argument_type : spec -> string
OCaml

Innovation. Community. Security.