ch-ch-update: series, closed-form series, and strides

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sat Jan 31 05:29:43 PST 2009


bearophile wrote:
> Andrei Alexandrescu:
>> foreach (e; take(10, fib)) writeln(e);
> 
> I think take(fib, 10) is quite better.
> I presume the API of those things will need about a year of usage to become refined.
> 
> Bye,
> bearophile

SPJ held a gun to my head and said: "take(10, fib)".

Andrei



More information about the Digitalmars-d mailing list