News for hackers. Stuff that matters.
Re:Hack: a new programming language for HHVM by samth on Thursday March 20, 2014 @01:24PM (#7437084)
Local inference isn't just unification. In particular, most local inference algorithms are designed to work with subtyping, which doesn't work in ML-like type systems.
Re:Hack: a new programming language for HHVM by DeGuerre on Thursday March 20, 2014 @09:41PM (#7440143)
I assume that "local inference" means, in practice, "no let-polymorphism". That's what causes most of the headaches with extensions to Hindley-Milner (including the undecidability of subtyping).
Re:Hack: a new programming language for HHVM by anaphor on Thursday March 20, 2014 @01:31PM (#7437149)
True, I didn't see any mention of subtyping on there but since it's PHP I guess they have to deal with it somehow.