I read that I could convert some OCaml code to ReasonML via refmt:
➜ pickles git:(mimoo/double_gate) ✗ refmt --parse ml --print re pickles.ml > pickles.re
File "pickles.ml", line 124, characters 21-33:
Error: Syntax error: operator expected.
This seems not to work, looking at the code it looks like locally abstract types might be the issue?
let pad_local_max_branchings
(type prev_varss prev_valuess env max_branching branches)
Is this a limitation of ReasonML?
Locally abstract types are supported by the reason syntax, the error is elsewhere.
You should try to make the error that you are observing reproducible from the data available in your question, otherwise helping you is a guess work.