How can you read and understand the source of *naryFun in functional.d?

Tom tom at
Sat Jan 29 07:14:45 PST 2011

I am learning D for some time. I come from background of C, C# and Python.
When I saw the ways to use std.algorithem's functions, I have noticed that the
input lambda's can be writen as strings. Somewhat like the pythonic "exec". I
went to the source of this feature in functional.d
The functions unaryFun and binaryFun. Is there a way I can read them and
understand them easily? or maybe I missed something?

More information about the Digitalmars-d-learn mailing list