Priority queue for Common Lisp?

2019-07-20 11:56发布

问题:

I've been looking everywhere for a priority queue implementation for Common Lisp that works, and so far, I've not had much luck. As I'm fairly new to Common Lisp, whenever I see a huge warning/error dump from the REPL, I'm not really sure what to do about it. This isn't helped by the fact that all the priority queue implementations I've found seem to be really old.

Could someone suggest one to me?

回答1:

A quick search for "queue" on http://quickdocs.org turned up a few choices. I looked at the description and API of priority-queue and it seems sensible. You can get it from Quicklisp.