package core

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

values to include in other namespaces

val string : string t
val int : int t

Beware that an anonymous argument of type int cannot be specified as negative, as it is ambiguous whether -1 is a negative number or a flag. (The same applies to float, time_span, etc.) You can use the special built-in "-anon" flag to force a string starting with a hyphen to be interpreted as an anonymous argument rather than as a flag, or you can just make it a parameter to a flag to avoid the issue.

val char : char t
val float : float t
val bool : bool t
val percent : Core_kernel.Percent.t t
val time_ofday : Core__.Core_time_float.Ofday.Zoned.t t

requires a time zone

for when zone is implied

val time_zone : Core_kernel.Time.Zone.t t
val file : string t

uses bash autocompletion

val host_and_port : Core_kernel.Host_and_port.t t
val ip_address : Unix.inet_addr t
val sexp_conv : (Core_kernel.Sexp.t -> 'a) -> 'a t
OCaml

Innovation. Community. Security.