From: Yukihiro Matsumoto Date: 2007-12-25T13:10:01+09:00 Subject: Re: Enumerable#to_a can run forever Hi, In message "Re: Enumerable#to_a can run forever" on Tue, 25 Dec 2007 13:00:48 +0900, Benjamin Kudria 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.