Hi,
In message "Re: Enumerable#to_a can run forever"
on Tue, 25 Dec 2007 13:00:48 +0900, Benjamin Kudria <ben / kudria.net> writes:
|Fair enough - but then does it make sense to have these operations
|defined?
Because it's very pragmatically useful for most of the case.
Theoretical cleanliness is not my concern.
|Perhaps there should
|be a way to distinguish between sets that are countable finite and those
|that are countably infinite?
And adding one burden to library implementer (including me)?
|Does 1.9 include provisions for handling
|infinite lists or sets?
I think you mean generator. If so, it has been supported since 1.8.
matz.