[prev in list] [next in list] [prev in thread] [next in thread]
List: ruby-talk
Subject: Re: Enumerable#to_a can run forever
From: Yukihiro Matsumoto <matz () ruby-lang ! org>
Date: 2007-12-25 4:10:01
Message-ID: E1J717I-0006SD-BK () localhost
[Download RAW message or body]
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.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic