Re: Can alias compose! receive more than one argument?

2021-01-07 Thread Marcone via Digitalmars-d-learn

My mistake:

alias a = compose!((x,y) => x*y);


Can alias compose! receive more than one argument?

2021-01-07 Thread Marcone via Digitalmars-d-learn

I get this eror:


Example:

alias a = compose!(x,y => x*y);

writeln(a(2,5));

// Error: onlineapp.d(4): Error: undefined identifier x