| ▲ | Quekid5 an hour ago | |
I can't speak for the parent poster, but for global function declarations, yes, absolutely. It's infuriating when a type error can "jump" across global functions just because you weren't clear about what types those functions should have had, even if those types are very abstract. So early adopters learned to sprinkle in type annotations at certain points until they discovered that the top-level was a good place. In OCaml this pain is somewhat lessened when you use module interface files, but without that... it's pain. | ||