On 02/12/2011 12:02 PM, bearophile wrote:
genSequence is pretty much the only
>  thing that I've been able to think of that I like at all,
sequence(10,20,2) is another option, as long as "interval".

Know what? I've been thinking for a while that "sequence" would be quite a good name for D ranges. Including lazy "on-demand-generated" ones (like maps), infinite ones (cubes of natural ints), and plain views (D slices, reversed, every third item, filters in general...). Then one "traverses" a sequence (= iteration) just like an in-memory collection. And/or traversal of in-memory collection actually happens via a (possibly implicite) standard sequence of the collection.

>  So, if we want to actually vote on this, then we should
>  come up with a set of suggestions for the name and then start a new thread 
vote
>  the vote.
I agree, in such things you need a two step process, as in brainstorming a 
phase of inflation and ideas creation, followed by the phase phase of critical 
thinking and choice.

Seems phase #1 is well engaged ;-)

denis
--
_________________
vita es estrany
spir.wikidot.com

Reply via email to