package core_kernel

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type 'a t = (module S with type t = 'a)
val to_string_hum : 'a t -> 'a -> string

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

val check_field_name : 'a t -> 'a -> (_, _, _) Core.Field.t_with_perm -> unit
val enum : 'a t -> (string * 'a) list
val assert_alphabetic_order_exn : Core.Source_code_position.t -> 'a t -> unit
type ('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
val make_param : f:('a Core.Command.Arg_type.t -> 'b Core.Command.Flag.t) -> ('a, 'b) make_param
val 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
val make_param_optional_with_default_doc : default:'a -> ('a, 'a) make_param
val 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
module Make_stringable (M : S) : Core.Stringable with type t := M.t

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

module Single : sig ... end
OCaml

Innovation. Community. Security.