Mset 0.2.0 - new library for small multisets

Dear OCaml community,

I’m pleased to announce the first release of mset, a library that implements multisets as soon as they are small enough to fit inside a single int (as a bitset).

It is available via opam and here at GitHub:

I implemented this library as part of a project to count anagrams but I anticipate it might be useful for other purposes.

Happy hacking,

Jean-Christophe

9 Likes

Nice. Multisets are quite useful in my field, but they are not small usually.

We also require a fast “kernel” function to be implemented for them (like the Jaccard index).