Streaming/sketching data structures for OCaml