Since there are no heaps in the standard library, I did a bit of research to find a usable module. This post on StackOverflow mentionned a submodule Heap in the Core.Std module. However, this module does not exist anymore.
This post asked the question, and an answer pointing to Core_kernel was given. Again, I tried to install this module, only to be met with a warning:
Alert deprecated: module Core_kernel
[since 2021-05] Use [Core] -- [Core_kernel] was renamed as [Core]
(and even without the warning, the last version of Core_kernel does not have a pairing_heap submodule.)
I would like to know if the heap datastructure is hidden somewhere I didn’t find it in the Core module. I found an alternative in Batteries, but I would like to avoid multiplying modules to install.
Thanks a bunch for any answer.
PS: I did not reply to the post on ocaml org, because the last 3 posts were completely irrelevent to the topic.