|
I've been thinking of making it more general purpose, and add other structures/algorithms (for self-educational purposes I have a red-black tree on my list to develop). And so make a module that contains multiple of those.
Every once in a while I see questions like this, and some code flying by in the list. So maybe it's worth the effort to collect them, with some documentation and tests.