Re: Ideas about colon operator syntax (and a patch in the work)
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Ideas about colon operator syntax (and a patch in the work)
- From: Thomas Jericke <tjericke@...>
- Date: 2014年4月29日 16:46:21 +0200
On 04/29/2014 04:54 PM, Luiz Henrique de Figueiredo wrote:
Your proposal is ambiguous. Consider this code:
s = "I can shout!"
u = s:upper
("hello"):gsub(".",print)
Is the last line part of the second statement?
Again, this is not a proposal, but ideas for a patch I want to share
with fellow Lua programmers.
Your comment about the ambiguity is already answered by Daurminator ;-)
I agree that my ideas doesn't solve the existing problem and maybe make
it even worse.
--
Thomas