lua-users home
lua-l archive

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

"Duncan Cross" <> writes:
>> I dunno, I don't really see that as a problem -- just say it's exactly
>> the same as any unary operator, and binds tightly.  It's no different
>> than -3+4, or as somebody else mentioned, fun "a".."b".
> fun "a".."b" is invalid, though - the parser won't accept it. The
> equivalent would be to only allow a single number parameter.


   $ lua
   Lua 5.1.2  Copyright (C) 1994-2007, PUC-Rio
   > function x (s) return s .. "*" end
   > print (x "a".."b")


The automobile has not merely taken over the street, it has dissolved the
living tissue of the city.  Its appetite for space is absolutely insatiable;
moving and parked, it devours urban land, leaving the buildings as mere islands
of habitable space in a sea of dangerous and ugly traffic.
[James Marston Fitch, New York Times, 1 May 1960]