proper tail calls

Maciej Stachowiak mjs at apple.com
Mon Jan 21 20:02:06 PST 2008


On Jan 21, 2008, at 12:35 PM, Brendan Eich wrote:

> Conversions (implicit and hardcoded among the
> built-in types representing and wrapping primitives) that might
> defeat PTC may not be evident until runtime, where the result would
> be a TypeError or possibly a new Error subtype.

Isn't this case (implicit conversion) exactly what motivated the idea  
that programmers may not be able to easily tell if a call is in tail  
position?

Regards,
Maciej




More information about the Es4-discuss mailing list