Re: [Vala] Implicit lamdas/closures



Jürg Billeter wrote:
[...]
The plan is to allow access to all local variables using closures.

You've probably seen it, but just in case you haven't, this:

http://en.wikipedia.org/wiki/Man_or_boy_test

...describes Knuth's test for whether a language supports *real*
closures, and is very useful for testing the robustness of a particular
closure system design. I, personally, would love it if Vala passed this.

-- 
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│
│ ⍎'⎕',∊N⍴⊂S←'←⎕←(3=T)⋎M⋏2=T←⊃+/(V⌽"⊂M),(V⊝"M),(V,⌽V)⌽"(V,V←1⎺1)⊝"⊂M)'
│ --- Conway's Game Of Life, in one line of APL

Attachment: signature.asc
Description: OpenPGP digital signature



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