Yukihiro Matsumoto wrote:


> That's the point.  My guess is a Range should work as both, depending
> on a method called.  I think I have to define useful / natural set of
> method names for each definition of a range.


What about a class Continuum and a class Sequence?
(naming is not important now)
Perhaps as subclasses of Range.

A little more complex, but less confusing.

Tobi

-- 
http://www.pinkjuice.com/