Mutation of the heap during iteration is not supported, but there is no check to
prevent it. The behavior of a heap that is mutated during iteration is
undefined.
val
iter : 'a t -> f:(key:Key.t -> data:'a -> unit) -> unit
Mutation of the heap during iteration is not supported, but there is no check to
prevent it. The behavior of a heap that is mutated during iteration is
undefined.