Basic Lambdas and Explicit Tail Calls Repackaged

Michael Day mikeday at yeslogic.com
Tue Dec 9 14:34:19 PST 2008


Hi Brendan,

> ES3.1 has Object.freeze, but you have to call it. This is ineffecient 
> and slightly hazardous, compared to a declarative form that makes an 
> immutable function from the start. The other advantage, of course, is 
> better syntactic UI -- sweet sugar. Opinions vary on what's sweet, but

I was thinking a new keyword that applied to any declaration would do 
the trick in a more generic and syntactically sweet way.

Cheers,

Michael

-- 
Print XML with Prince!
http://www.princexml.com


More information about the Es-discuss mailing list