Module Pairing_heap.Elt

type 'a t
val sexp_of_t : ('a -> Sexplib0.Sexp.t) -> 'a t -> Sexplib0.Sexp.t
val value : 'a t -> 'a option

value t returns the value in the heap controlled by this token if the value is still in the heap, and None otherwise.

val value_exn : 'a t -> 'a

value_exn t returns the value in the heap controlled by this token if the value is still in the heap, and raises otherwise.