Pqueue.MaxPoly(3)
π Pqueue.MaxPoly(3) π
Okay bestie, welcome to the OCaml library page for Pqueue.MaxPoly β the output signature of the functor Pqueue.MakeMaxPoly. Itβs giving βthe functor hands you this signature,β and honestly? Iconic. β¨
π§ Module type π§
The module type is Pqueue.MaxPoly, no cap.
β¨ Documentation β¨
Itβs literally this:
Module type MaxPoly
= sig end
Itβs the output signature of the functor Pqueue.MakeMaxPoly . π«Ά
Hereβs the whole exact crew, in order, donβt rename or merge a single one:
type 'a t
type 'a elt
val create : unit -> 'a t
val length : 'a t -> int
val is_empty : 'a t -> bool
val add : 'a t -> 'a elt -> unit
val add_iter : 'a t -> (('a elt -> unit) -> 'x -> unit) -> 'x -> unit
val max_elt : 'a t -> 'a elt option
val get_max_elt : 'a t -> 'a elt
val pop_max : 'a t -> 'a elt option
val remove_max : 'a t -> unit
val clear : 'a t -> unit
val copy : 'a t -> 'a t
val of_array : 'a elt array -> 'a t
val of_list : 'a elt list -> 'a t
val of_iter : (('a elt -> unit) -> 'x -> unit) -> 'x -> 'a t
val iter_unordered : ('a elt -> unit) -> 'a t -> unit
val fold_unordered : ('acc -> 'a elt -> 'acc) -> 'acc -> 'a t -> 'acc
Thatβs the whole signature, bestie β every type and every val, exactly as listed. π
xoxo, OCamldoc Β· 2026-06-22 Β· Pqueue.MaxPoly(3) π
π¦ 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