News for hackers. Stuff that matters.
Re:An Experimental New Type Inference Scheme for Rust by freyrs3 on Thursday July 10, 2014 @01:11AM (#8013720)
Unidirectional inference in the presence of subtyping is undecidable in the general case. Languages like Haskell and OCaml don't have this problem because they don't include subtyping precisely for this reason.
Re:An Experimental New Type Inference Scheme for Rust by gsg on Thursday July 10, 2014 @01:57AM (#8013829)
OCaml has subtyping: it addresses the undecidability issue by requiring "cast" annotations for some use cases.