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

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -