ch-ch-update: series, closed-form series, and strides
Simen Kjaeraas
simen.kjaras at gmail.com
Sat Jan 31 07:18:53 PST 2009
On Sat, 31 Jan 2009 14:35:50 +0100, Ary Borenszweig <ary at esperanto.org.ar> wrote:
> Andrei Alexandrescu escribió:
>> 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)".
>
> Who is SPJ?
http://en.wikipedia.org/wiki/Simon_Peyton_Jones
> I find "take(10, fib)" more readable: take 10 from fib. Same order.
Yeah, me too. "Take fib from 10" sounds backwards.
--
Simen
More information about the Digitalmars-d
mailing list