package batteries
A community-maintained standard library extension
Install
dune-project
Dependency
Authors
Maintainers
Sources
v3.4.0.tar.gz
md5=66b6e0b25769fc2363972c6a6ab6ac33
sha256=584d314cbaa5485e26d08ce87f7d7ff49043d9096101f2641b59def9aa6d7d71
doc/batteries.unthreaded/BatHeap/Make/index.html
Module BatHeap.Make
Functorized heaps over arbitrary orderings. All the functions have the same complexity as the non-functorized versions.
Parameters
module Ord : BatInterfaces.OrderedType
Signature
type elem = Ord.t
Type of elements of the heap
val empty : t
See BatHeap.empty
.
val size : t -> int
See BatHeap.size
.
See BatHeap.add
.
See BatHeap.insert
.
See BatHeap.merge
.
See BatHeap.find_min
.
See BatHeap.del_min
.
See BatHeap.of_list
.
See BatHeap.to_list
.
See BatHeap.of_enum
.
See BatHeap.enum
.
val print :
?first:string ->
?last:string ->
?sep:string ->
(elem, 'a) BatIO.printer ->
(t, 'a) BatIO.printer
See BatHeap.print
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page