// import mir.ndslice.topology: map; alias map(alias fun) = a => a; // some template static assert (__traits(isSame, selfAndRecurseTemplatePipe!(map, 2, "a * 2"), map!(pipe!("a * 2", map!"a * 2"))));
See Implementation