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

Michel Fortin michel.fortin at michelf.com
Sat Jan 31 14:00:03 PST 2009


On 2009-01-31 15:17:40 -0500, Sean Kelly <sean at invisibleduck.org> said:

> I like function calls that read like a sentence.  Here I'd read 
> take(10, fib) as "take 10 from fib".  The only advantage of reversing 
> the arguments is that it might decompose well into the property syntax: 
> fib.take(10).

How about fib[0..10]?

-- 
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/




More information about the Digitalmars-d mailing list