[DGD] function currying

Felix A. Croes felix at dworkin.nl
Tue Jun 21 15:26:28 CEST 2011


The latest code now also allows &(*funcptr)().  This can be used as
follows:

    function f;

    f = &foo(1);
    f = &(*f)(2);
    (*f)(3);		/* equivalent to foo(1, 2, 3) */

Regards,
Felix Croes



More information about the DGD mailing list