OCaml implementation of indexed sets (inspired from Haskell's ixSet library)