A macro also works for shorthand... #define f(x, y ...) lambda(y) { return x; }
int main() { function y = f(x * x, mixed x); write((string)y(5)); } Best Regards, Ralph Ritoch On Sat, Mar 14, 2015 at 7:50 PM, Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum <10...@lyskom.lysator.liu.se> wrote: > If you want x to be mixed, you should declare it as such. That is the > rule everywhere else. >