Pqueue.MakeMax(3)
π NAME π
Pqueue.MakeMax β the functor that builds an implementation of the max-priority queue structure given a totally ordered type for elements. That's the whole mission, bestie: Functor building an implementation of the max-priority queue structure given a totally ordered type for elements. π«Ά
And yes, this is the OCaml library page for Pqueue.MakeMax(3), pulling up with main-character energy β¨
π¦ Module π¦
Module Pqueue.MakeMax
β¨ Documentation β¨
π Module MakeMax π
Module MakeMax
: (E : OrderedType) -> sig end
Functor building an implementation of the max-priority queue structure given a totally ordered type for elements. Literally what it says on the tin, no cap π
Parameters:
"E"βPqueue.OrderedType
Here's the full roster of types and vals, every line kept exactly, no skips, periodt:
type t
type elt
val create : unit -> t
val length : t -> int
val is_empty : t -> bool
val add : t -> elt -> unit
val add_iter : t -> ((elt -> unit) -> 'x -> unit) -> 'x -> unit
val max_elt : t -> elt option
val get_max_elt : t -> elt
val pop_max : t -> elt option
val remove_max : t -> unit
val clear : t -> unit
val copy : t -> t
val of_array : elt array -> t
val of_list : elt list -> t
val of_iter : ((elt -> unit) -> 'x -> unit) -> 'x -> t
val iter_unordered : (elt -> unit) -> t -> unit
val fold_unordered : ('acc -> elt -> 'acc) -> 'acc -> t -> 'acc
this lil page was brought to you by OCamldoc, dated 2026-06-22, and it's all about Pqueue.MakeMax(3) β mwah! π§π
π¦ where this page comes from
- arch rolling: ocaml 5.5.0-1 Β· LGPL2.1 AND custom: QPL-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms