package batteries
A community-maintained standard library extension
Install
Dune Dependency
Authors
Maintainers
Sources
v3.3.0.tar.gz
sha256=40d18485911e343500a5636bbf1d84e2ee32f924fe87e5fd13a37641a4d8f226
md5=fe4da12b678a82faaeda4e58492ea871
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