package rocq-runtime
The Rocq Prover -- Core Binaries and Tools
Install
Dune Dependency
Authors
Maintainers
Sources
rocq-9.0.0.tar.gz
md5=8d522602d23e7a665631826dab9aa92b
sha512=f4f76a6a178e421c99ee7a331a2fd97a06e9c5d0168d7e60c44e3820d8e1a124370ea104ad90c7f87a9a1e9d87b2d0d7d2d387c998feeaed4a75ed04e176a4be
doc/rocq-runtime.clib/Heap/module-type-S/index.html
Module type Heap.S
Source
Type of functional heaps
Type of elements
add x h
returns a new heap containing the elements of h
, plus x
; complexity $
O(log(n)) $
maximum h
returns the maximum element of h
; raises EmptyHeap
when h
is empty; complexity $
O(1) $
remove h
returns a new heap containing the elements of h
, except the maximum of h
; raises EmptyHeap
when h
is empty; complexity $
O(log(n)) $
usual iterators and combinators; elements are presented in arbitrary order
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>