package alba

  1. Overview
  2. Docs
Alba compiler

Install

Dune Dependency

Authors

Maintainers

Sources

0.4.2.tar.gz
sha256=203ee151ce793a977b2d3e66f8b3a0cd7a82cc7f15550c63d88cb30c71eb5f95
md5=64367c393f80ca784f88d07155da4fb0

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.