From: "Jan E." Date: 2012-04-14T09:03:10+09:00 Subject: Re: unable to do "down" range? Apart from the problems Bartosz mentioned, I still don't see the advantage of "down ranges" over using iterators or enumerators. I mean, isn't that exactly what iterators/enumerators are for? You can use them to count up, count down, count with a different step length etc. Sure, they are a bit cumbersome, because they don't have their own literal. But instead of overloading the Range class more and more, I'd rather introduce a new class for tuples/sequences together with new literals: up_seq = <1, ..., 10> down_seq = <10, ..., 1> step_seq = <2, 4, ..., 10> (Much like Haskell's list notation) Maybe we'll even have list comprehensions one day. :-| -- Posted via http://www.ruby-forum.com/.