package string_dict
Efficient static string dictionaries
Install
Dune Dependency
Authors
Maintainers
Sources
string_dict-v0.14.0.tar.gz
sha256=7c065677dd1bf6651fba1313da0c459d414b8c24c373ffc5b0621f931d06f30e
md5=8aa4fbf812f7ef6227123c5f17bdc51e
doc/string_dict/String_dict/index.html
Module String_dict
Source
Efficient static string dictionaries. By static, we mean that new key-value pairs cannot be added after the dictionary is created.
This uses the algorithm the OCaml compiler uses for pattern matching on strings.
Source
val hash_fold_t :
(Ppx_hash_lib.Std.Hash.state -> 'a -> Ppx_hash_lib.Std.Hash.state) ->
Ppx_hash_lib.Std.Hash.state ->
'a t ->
Ppx_hash_lib.Std.Hash.state
We don't use [@@deriving sexp]
, to avoid a circular dependency.
Creates a dictionary from an association list. It is an error for the list to contain duplicate keys.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>