For those of you playing along at home, you may have noticed that there
were two bugs in the code I presented above. I have since fixed those
issues in the Gitlab repository that I linked to in my previous post. If
you didn't just grab the repository, here are the fixes for you to add
manually
clojure.data.priority-map is a data structure that maintains a map that is
sorted by its values, rather than its keys. This allows it to be used as a
versatile priority queue.
The latest version contains two changes:
1. Aligned the hash value of priority maps to match the way that the hash
value o