package core
Industrial strength alternative to OCaml's standard library
Install
Dune Dependency
Authors
Maintainers
Sources
v0.17.1.tar.gz
md5=743a141234e04210e295980f7a78a6d9
sha512=61b415f4fb12c78d30649fff1aabe3a475eea926ce6edb7774031f4dc7f37ea51f5d9337ead6ec73cd93da5fd1ed0f2738c210c71ebc8fe9d7f6135a06bd176f
doc/core/Core/Hashtbl/Using_hashable/index.html
Module Hashtbl.Using_hashable
Source
include Hashtbl_intf.Creators
with type ('a, 'b) t := ('a, 'b) t
with type 'a key := 'a key
with type ('a, 'b, 'z) create_options :=
('a, 'b, 'z) Hashtbl_intf.create_options_with_hashable
Source
val of_alist_or_error :
('a key, 'b, ('a key * 'b) list -> ('a, 'b) t Base.Or_error.t)
Hashtbl_intf.create_options_with_hashable
Source
val of_alist_exn :
('a key, 'b, ('a key * 'b) list -> ('a, 'b) t)
Hashtbl_intf.create_options_with_hashable
Source
val of_alist_multi :
('a key, 'b list, ('a key * 'b) list -> ('a, 'b list) t)
Hashtbl_intf.create_options_with_hashable
Source
val create_mapped :
('a key,
'b,
get_key:('r -> 'a key) ->
get_data:('r -> 'b) ->
'r list ->
[ `Ok of ('a, 'b) t | `Duplicate_keys of 'a key list ])
Hashtbl_intf.create_options_with_hashable
create_mapped get_key get_data [x1,...,xn]
= of_alist [get_key x1, get_data x1; ...; get_key xn, get_data xn]
Source
val create_with_key :
('a key,
'r,
get_key:('r -> 'a key) ->
'r list ->
[ `Ok of ('a, 'r) t | `Duplicate_keys of 'a key list ])
Hashtbl_intf.create_options_with_hashable
create_with_key ~get_key [x1,...,xn]
= of_alist [get_key x1, x1; ...; get_key xn, xn]
Source
val create_with_key_or_error :
('a key, 'r, get_key:('r -> 'a key) -> 'r list -> ('a, 'r) t Base.Or_error.t)
Hashtbl_intf.create_options_with_hashable
Source
val create_with_key_exn :
('a key, 'r, get_key:('r -> 'a key) -> 'r list -> ('a, 'r) t)
Hashtbl_intf.create_options_with_hashable
Source
val group :
('a key,
'b,
get_key:('r -> 'a key) ->
get_data:('r -> 'b) ->
combine:('b -> 'b -> 'b) ->
'r list ->
('a, 'b) t)
Hashtbl_intf.create_options_with_hashable
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>