Pqueue.MinPoly(3)

okay bestie, welcome to Pqueue.MinPoly(3) from the OCaml library manual πŸ’– this page is short and iconic, no cap.

✨ NAME ✨

Pqueue.MinPoly β€” the output signature of the functor Pqueue.MakeMinPoly, periodt. That's the whole name-and-purpose moment.


🧚 MODULE TYPE 🧚

Here's the module type line, exactly as it shows up:

Module type   Pqueue.MinPoly

πŸ’… DOCUMENTATION πŸ’…

The module type is literally:

       Module type MinPoly
        = sig end

Output signature of the functor Pqueue.MakeMinPoly. That's the vibe.

The types are giving:

  • type 'a t
  • type 'a elt

And the values? Oh we have the whole roster, bestie β€” every signature exactly as it appears:

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 min_elt : 'a t -> 'a elt option

val get_min_elt : 'a t -> 'a elt

val pop_min : 'a t -> 'a elt option

val remove_min : '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 documentation section, and it ate πŸ’…βœ¨


Big mwah to OCamldoc for this page, dated 2026-06-22 β€” that's the source/version-and-date sign-off, bestie πŸ«ΆπŸ’–

πŸ“¦ where this page comes from