package batteries
A community-maintained standard library extension
Install
Dune Dependency
Authors
Maintainers
Sources
v3.6.0.tar.gz
md5=1bcb27dfbd130eb057561196ef851649
sha512=2a56611b09a5f1cba6457539f8b6bc87a5f2a5454b36cdb39f6e0d6a5dac6db179aab1ba87c74dd49cc41df31a9a96feb349028ea41df7371ecb47f4d9dfafc4
doc/batteries.unthreaded/BatHashcons/MakeTable/argument-1-HT/index.html
Parameter MakeTable.HT
val hash : t -> int
A hashing function on keys. It must be such that if two keys are equal according to equal
, then they have identical hash values as computed by hash
. Examples: suitable (equal
, hash
) pairs for arbitrary key types include ((=)
, Hashtbl.hash
) for comparing objects by structure, ((fun x y -> compare x y = 0)
, Hashtbl.hash
) for comparing objects by structure and handling Pervasives.nan
correctly, and ((==)
, Hashtbl.hash
) for comparing objects by addresses (e.g. for cyclic keys).
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>