[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: A matter of "style"...
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sun, 25 Jun 2000 21:10:19 -0300 (EST)
>From lua-l@tecgraf.puc-rio.br Thu Jun 22 16:34:48 2000
>From: Mike Cuddy <mcuddy@fensende.com>
>
>Is there a way to do anonymous functions inside of table constructors
>with the implicit 'self' parameter?
Sorry, no.
> fooFunc = function:(param)
That's an idea, but I think it's not worth implementing it.
function (self,parm) is clearer and not much harder to typ.e
>Another thing that really bugs me is the 'begin' 'end' stuff. Since most
>editors won't show matching begin/end but they will show matching { } pairs...
>but this is a minor gripe ...
How about this:
while a do --{
...
end --}
--lhf