Re:Urbit: A clean-slate functional OS
by mjmahone17 on Wednesday September 25, 2013 @12:10AM
(#6442572)
You can solve this, to some extent, in OCaml, by just type-hinting everything. But then what fun is type inference?
Haskell mostly avoids this problem by encouraging writing type signatures and checking them immediately against definitions, turning the global analysis that is OCaml's type inference into a local problem. However, when using local definitions, I do still sometimes have to think about whether a type error comes from a definition or a use.