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 date : Core__.Import.Date.t 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 the time zone is implied.

val time_zone : Core_kernel__.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