2 ms·
That is not the idiomatic way to use OCaml, so I wouldn't assume they do that.
by mgaunard 4y ago
That is not the idiomatic way to use OCaml, so I wouldn't assume they do that.
- LeonidasXIV 4y agoWriting `mli` files is pretty much idiomatic or at the very least, not unusual.
- mgaunard 4y agoOnly for the public API boundary.
- SonOfLilit 4y agoAt least in similar languages like Haskell, what you do is let the compiler infer types and then press an IDE key combination to write out those inferred types as part of your code so you would get an error if you ever accidentally change the types.