package alba

  1. Overview
  2. Docs
Alba compiler

Install

Dune Dependency

Authors

Maintainers

Sources

0.4.3.tar.gz
sha256=062f33c55ef39706c4290dff67d5a00bf009051fd757f9352be527f629ae21fc
md5=eb4edc4d6b7e15b83d6397bd34994153

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.