lua-users home
lua-l archive

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


Dimiter 'malkia' Stanev <malkia@gmail.com> writes:

>> I've got an idea.  Let's use a single character, instead of a keyword
>> here.
>>
>> (for k=1, 10 do
>>   (for j=1, 10 do
>>    (for i=1, 10 do
>>      f(i, j, k)
>>      )))
>
> Or
>
> (for k=1, 10 do
>   (for j=1, 10 do
>    (for i=1, 10 do
>      f(i, j, k)]

Make that
       f(i, j, k]
and you save typing yet another character.

Anyway, the above idea was suppedly a joke from a Lisp programmer.

-- 
David Kastrup