package elpi
ELPI - Embeddable λProlog Interpreter
Install
dune-project
Dependency
Authors
Maintainers
Sources
elpi-3.4.1.tbz
sha256=deb40fc3dd5d1c0aa9eb52931e4d54384aa1e6cc96ad9675575ff5784f1cc88f
sha512=71092d086b9ad72a5b6e08ecfa2fa896bd109730c1896ff0cfe7465be6d7dc5faff033e0bd518e450279925e38ac1cb254ce18f90235b3492508ce346a3d1efc
doc/elpi.runtime/Elpi_runtime/Ptmap/index.html
Module Elpi_runtime.Ptmap
Source
Maps over integers implemented as Patricia trees.
The following signature is a subset of Map.S with type key = int
, with the same specifications (not repeated here) unless specified otherwise.
These are little-endian Patricia trees, so there is no efficient ordering of keys within the structure. Consequently,
min/max_binding
,find_first/last
are rather inefficient (linear)iter
,fold
*do not* iterate in the key orderbindings
is *not sorted* by keys
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>