Looks like 100% idiomatic normal OCaml to me.
Technically you are right but too much mutation for my tastes and probably many other ocaml developers.
Technically you are right but too much mutation for my tastes and probably many other ocaml developers.