writeln, UFCS and flip

bearophile bearophileHUGS at lycos.com
Thu Apr 25 10:41:01 PDT 2013


On Thursday, 25 April 2013 at 16:20:39 UTC, ixid wrote:
> Doesn't binaryReverseArgs in std.functional already do this?

Right, it's the flip I have suggested here. My flip2 is a little 
different. I will think about this.


> Though I still think write functions passing on the data would 
> be useful, letting you avoid needless temporaries just so you 
> can write the output of a function.

OK.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list