Module type Prime_priqueue.S
val empty : t
The empty queue.
val is_empty : t -> bool
is_empty q
is true iffq
has no elements.
val remove : elt -> t -> t
remove e q
isq
with onee
element removed, if any. The implementation adds a node markinge
for deletion, if an elemente
would not be immediatly accessible if present, but care is taken that later additions ofe
is unaffected by the deletion marker.