Module Hashable.S.Hash_queue


module Hash_queue: Hash_queue.S  with type Key.t = hashable

module Key: Hash_queue.Key 
type 'a t 
include Container.S1
val invariant : 'a t -> unit
val create : unit -> 'a t
val clear : 'a t -> unit
val mem : 'a t -> Key.t -> bool
val find_opt : 'a t -> Key.t -> 'a option
val enqueue : 'a t -> Key.t -> 'a -> [ `Key_already_present | `Ok ]
val dequeue : 'a t -> 'a option
val dequeue_with_key : 'a t -> (Key.t * 'a) option
val dequeue_all : 'a t -> f:('a -> unit) -> unit
val remove : 'a t -> Key.t -> [ `No_such_key | `Ok ]
val replace : 'a t -> Key.t -> 'a -> [ `No_such_key | `Ok ]
val iter_keys : 'a t -> f:(key:Key.t -> data:'a -> unit) -> unit
val fold_keys : 'a t -> init:'b -> f:('b -> key:Key.t -> data:'a -> 'b) -> 'b