package core_kernel

  1. Overview
  2. Docs
Industrial strength alternative to OCaml's standard library

Install

Dune Dependency

Authors

Maintainers

Sources

core_kernel-v0.15.0.tar.gz
sha256=34a0288f16027c6b90e4ad16cb5cc677d7063d310faf918748ce70f1745116c0

doc/core_kernel.enum/Enum/index.html

Module EnumSource

Sourcetype 'a t = (module S with type t = 'a)
Sourceval to_string_hum : 'a t -> 'a -> string

Map a constructor name to a command-line string: downcase the name and convert _ to -.

Sourceval check_field_name : 'a t -> 'a -> (_, _, _) Core.Field.t_with_perm -> unit
Sourceval enum : 'a t -> (string * 'a) list
Sourceval assert_alphabetic_order_exn : Core.Source_code_position.t -> 'a t -> unit
Sourcetype ('a, 'b) make_param = ?represent_choice_with:string -> ?list_values_in_help:bool -> ?aliases:string list -> ?key:'a Core.Univ_map.Multi.Key.t -> string -> doc:string -> 'a t -> 'b Core.Command.Param.t
Sourceval make_param : f:('a Core.Command.Arg_type.t -> 'b Core.Command.Flag.t) -> ('a, 'b) make_param
Sourceval make_param_one_of_flags : ?if_nothing_chosen:('a, 'a) Core.Command.Param.If_nothing_chosen.t -> ?aliases:('a -> string list) -> doc:('a -> string) -> 'a t -> 'a Core.Command.Param.t
Sourceval make_param_optional_with_default_doc : default:'a -> ('a, 'a) make_param
Sourceval arg_type : ?case_sensitive:bool -> ?key:'a Core.Univ_map.Multi.Key.t -> ?list_values_in_help:bool -> 'a t -> 'a Core.Command.Arg_type.t
Sourcemodule Make_stringable (M : S) : Core.Stringable with type t := M.t

the sexp representation of M.t must be an sexp atom

Sourcemodule Single : sig ... end
OCaml

Innovation. Community. Security.