package ezresto

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Typed path argument.

type 'a t = 'a Resto.Arg.arg
type 'a arg = 'a t
val make : ?descr:string -> name:string -> destruct:(string -> ('a, string) result) -> construct:('a -> string) -> unit -> 'a arg
type descr = Resto.Arg.descr = {
  1. name : string;
  2. descr : string option;
}
val descr : 'a arg -> descr
val int : int arg
val int32 : int32 arg
val int64 : int64 arg
val float : float arg
OCaml

Innovation. Community. Security.