package alba

  1. Overview
  2. Docs
Alba compiler

Install

Dune Dependency

Authors

Maintainers

Sources

0.4.1.tar.gz
sha256=439b1dce07c86e914d1ebf1712c5581418314b0c8d13594f27a698b1d25fe272
md5=5cf58d4ed4eacbe6f330e9d2378ef5c6

doc/alba.fmlib/Fmlib/Argument_parser/Make/index.html

Module Argument_parser.Make

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.