Get body of a function as string

bearophile bearophileHUGS at lycos.com
Fri Jun 28 14:03:53 PDT 2013


John Colvin:

> Because the body of the new function needs to see the 
> parameters as known at compile-time.

I think to curry a function all you need to know is its 
signature. And in std.traits probably there is all the 
functionality to see all kinds of function arguments, their 
names, tags, etc.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list