forax at univ-mlv.fr
Sat Nov 21 12:53:11 PST 2009
Le 21/11/2009 21:24, Vladimir Kirichenko a écrit :
> Neal Gafter wrote:
>> We've been carefully avoiding keywords up to now, but I agree using
>> keywords could result in more natural-reading programs. The problem is
>> the risk of breaking existing programs. However, that is somewhat less
> We survived "enum" I'm pretty sure "fun" is survivable too. Mostly
> because of the same reasons - enum were used to implement ad-hoc enums
> and "fun" most likely used with ad-hoc lambdas.
I haven't survive to enum :)
Since 1.0, JDK embeds a class named java.util.Enumeration,
you can easily guess the name of the variable commonly used for that type.
More information about the closures-dev