lua-users home
lua-l archive

Re: Ideas about colon operator syntax (and a patch in the work)

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


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?

AltStyle によって変換されたページ (->オリジナル) /