Darren Duncan wrote:
> Does "..." also come with the 4 variations of endpoint inclusion/exclusion?
>
> If not, then it should, as I'm sure many times one would want to do this,
> say:
>
>  for 0...^$n -> {...}

You can toggle the inclusion/exclusion of the ending condition by
choosing between "..." and "...^"; but the starting point is the
starting point no matter what: there is neither "^..." nor "^...^".

> In any event, I still think that the mnemonics of "..." (yadda-yadda-yadda)
> are more appropriate to a generator, where it says "produce this and so on".
>  A ".." does not have that mnemonic and looks better for an interval.

Well put.  This++.

-- 
Jonathan "Dataweaver" Lang

Reply via email to