Problem about lambda expressions

Tongzhou Li zhangsongcui at hotmail.com
Tue Mar 27 06:42:29 PDT 2012


Hello again! I'm learning D, and I encountered a problem.
I tried this code:
http://ideone.com/hkpT6
It works well. (Have no idea why codepad.org failed to compile it)
I tried to write a lambda instead of function f, but I got 
nothing printed.
Did I make something wrong?
Compiler used: DMD32 D Compiler v2.058 (Win7 SP1 x64)
Sorry for my poor English :)


More information about the Digitalmars-d-learn mailing list