Re: Another example for syntactically lightweight closures
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Another example for syntactically lightweight closures
- From: Miles Bader <miles@...>
- Date: 2008年2月09日 16:43:06 +0900
"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.