package core_kernel
Industrial strength alternative to OCaml's standard library
Install
Dune Dependency
Authors
Maintainers
Sources
core_kernel-v0.16.0.tar.gz
sha256=e37370bad978cfb71fdaf2b1a25ab1506b98ef0b91e0dbd189ffd9d853245ce2
doc/core_kernel.enum/Enum/index.html
Module Enum
Source
Map a constructor name to a command-line string: downcase the name and convert _
to -
.
Source
type ('a, 'b) make_param =
?case_sensitive:Base.bool ->
?represent_choice_with:Base.string ->
?list_values_in_help:Base.bool ->
?aliases:Base.string Base.list ->
?key:'a Univ_map.Multi.Key.t ->
Base.string ->
doc:Base.string ->
'a t ->
'b Command.Param.t
Source
val make_param_one_of_flags :
?if_nothing_chosen:('a, 'a) Command.Param.If_nothing_chosen.t ->
?aliases:('a -> Base.string Base.list) ->
doc:('a -> Base.string) ->
'a t ->
'a Command.Param.t
Source
val make_param_optional_comma_separated :
?allow_empty:Base.bool ->
?unique_values:Base.bool ->
('a, 'a Base.list Base.option) make_param
Source
val arg_type :
?case_sensitive:Base.bool ->
?key:'a Univ_map.Multi.Key.t ->
?list_values_in_help:Base.bool ->
'a t ->
'a Command.Arg_type.t
Defines to_string
and of_string
functions for M
, based on M.sexp_of_t
and M.all
. The sexp representation of M.t
must be a sexp atom.
Source
module Make_of_string
(M : Command.Enumerable_stringable) :
Base.Stringable.S with type t := M.t
Defines an of_string
function for M
, using M.all
and M.to_string
. Does not require M
to be sexpable.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>