queue - (OCaml) How does "remove" function from OCaml's PriorityQueue look like? -
does know how "remove" function ocaml's priorityqueue library like?
i know how works wanna see code.
thanks!
i suppose you're talking priorityqueue module holger arnold's ocaml-base library? @ source, it's this:
let remove h x = try remove_index h (hashtbl.find h.indices x) not_found -> ()
Comments
Post a Comment