[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Re: Re: Lightweight syntax: a dissident view
- From: Axel Kittenberger <axkibe@...>
- Date: Wed, 24 Nov 2010 13:29:04 +0100
> filter(lambda(x) x % 2 == 0)
hmm also some uses not claerly defined, not nice:
myfunc(lambda(x) x, x)
is this:
myfunc(function(x) return x, x end)
or
myfunc(function(x) return x end, x)
?
> :subscribe(function(x)
> total = total + x
> log:writef("%d %d", x, total)
> end)
>
> Cheers,
> Luis
>
> --
> Computers are useless. They can only give you answers.
> -- Pablo Picasso
>
> --
> Luis Carvalho (Kozure)
> lua -e 'print((("lexcarvalho@NO.gmail.SPAM.com"):gsub("(%u+%.)","")))'
>
>