Argument unpacking?

David A. Herman dherman at ccs.neu.edu
Sun Nov 12 09:40:50 PST 2006


> Also, unless I'm missing something, the language wouldn't be able to
> enforce the type of that last array argument any more. So, while this

In ES3 there's no type enforcement, and I wouldn't count on being able to
come up with a type for apply anyway. I'm not saying I agree with one side
or another on this point, but I'm not sure our type system can express
useful type constraints on apply. I believe it's a dependently typed
function.

Dave



More information about the Es4-discuss mailing list