[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: special forms, take two (was Re: A lua version of "amb")
- From: Miles Bader <miles@...>
- Date: Mon, 27 Feb 2012 09:49:39 +0900
HyperHacker <hyperhacker@gmail.com> writes:
> Wouldn't a more Lua-like approach be to use a keyword "lambda" instead
> of a symbol?
There's nothing "more Lua like" about that -- after all, Lua uses non-keyword
operators too (it's not lisp).
The point is that such decision should be taken judiciously, with an eye
towards expected usage.
In this case, the point seems to be reducing the size and visual impact
of small lambdas, which suggests not using a keyword would be better.
Also, of course, there's always a lot of reluctance to add a new keyword
to the language; using currently illegal syntax is safer.
-miles
--
Absurdity, n. A statement or belief manifestly inconsistent with one's own
opinion.
- References:
- A lua version of "amb", Xavier Wang
- special forms, take two (was Re: A lua version of "amb"), Jay Carlson
- Re: special forms, take two (was Re: A lua version of "amb"), steve donovan
- Re: special forms, take two (was Re: A lua version of "amb"), Jay Carlson
- Re: special forms, take two (was Re: A lua version of "amb"), steve donovan
- Re: special forms, take two (was Re: A lua version of "amb"), HyperHacker