lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On Thu, May 19, 2005 at 10:45:44AM -0300, Roberto Ierusalimschy wrote:
> > Am I unusual for being uncomfortable with the same token being used
> > for both prefix and infix syntax?
> I don't think you feel uncomfortable using both -a and a-b, do you? :)

Speaking of which, is there a reason Lua doesn't have prefix +?  I write tables

t = {
 -1, +1,
 +1, -1

(their equivalent in C and elsewhere) instead of leaving a space; I find it
cleane.  It seemed odd that Lua can't do this.

Glenn Maynard