map/filter/reduce: use functions or delegates or both?

Denton Cockburn diboss at hotmail.com
Wed Mar 21 15:29:25 PDT 2007


oh yeah, map would need to be instantiated as well.

int[] b = reduce!(int, int)(plus, 0, map!(int, int)(square, a));


More information about the Digitalmars-d-learn mailing list