[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Macros and expressivity
- From: Miles Bader <miles.bader@...>
- Date: Wed, 16 Jan 2008 19:05:53 +0900
"Duncan Cross" <firstname.lastname@example.org> 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 5.1.2 Copyright (C) 1994-2007 Lua.org, 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]