lua-users home
lua-l archive

Re: Another example for syntactically lightweight closures

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


"steve donovan" <steve.j.donovan@gmail.com> writes:
> sort(t) do(a:int,b:int):
> return a > b
>
> The convention is that if the last arg is a function it can be
> specified in this way.
So.... more confusing _and_ no more concise. What a win.
-Miles
-- 
Congratulation, n. The civility of envy.

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