News for hackers. Stuff that matters.
Re:Hack: a new programming language for HHVM by maxiepoo on Thursday March 20, 2014 @07:50PM (#7439739)
What do you do with higher-order functions (which PHP has I believe)?

If I write a typed map : (a -> b) -> [a] -> [b] and then it's called with an untyped function as input, but it returns a something that's not a b. Do you place some kind of barrier around it so that that's stopped immediately?

There are no comments on this comment yet.