On 2009-Sep-18, at 8:44 am, Moritz Lenz wrote:
Aaron Sherman wrote:
2,3 constructs a list. 2..3 also constructs a list, unless it's in a given/when condition in which case it's just a range.
No. 2..3 is always a range. It's just list context that turns it into a list.

That seems confusing.

It sounds like the split personality of Ranges strikes again. I still think it makes more sense to have one Series-only type and one Range- only type, rather than one Series type and one Range-plus-Series type.


-David

Reply via email to