package alba

  1. Overview
  2. Docs
Alba compiler

Install

Dune Dependency

Authors

Maintainers

Sources

0.4.4.tar.gz
sha256=4817038301d3e45bac9edf7e6f2fc8bf0a6d78e76e02ad7ea33ef69bcc17df3b
md5=25234357587126685d64f16236167937

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.