Software Assurance Reference Dataset

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Tue Jul 22 13:39:20 PDT 2014


On Tuesday, 22 July 2014 at 19:12:31 UTC, H. S. Teoh via
Digitalmars-d wrote:
> I'd rather write:
>
> 	int factorial(int n) pure {
> 		return reduce!((a,b) => a*b)(1, iota(2, n));
> 	}
>
> ;-)

This is how we fucked UFCS.


More information about the Digitalmars-d mailing list