[prev in list] [next in list] [prev in thread] [next in thread]
List: ruby-core
Subject: Re: ANN: Free-form-operators patch
From: "trans. (T. Onoma)" <transami () runbox ! com>
Date: 2004-10-12 4:44:00
Message-ID: 200410120043.52480.transami () runbox ! com
[Download RAW message or body]
On Monday 11 October 2004 09:38 pm, Yukihiro Matsumoto wrote:
| |I'd be out-of-luck, and have to write all the Enumerable methods by hand.
| | Can the Enumerable methods be defined to pass on arguments? i.e.
| |
| | def select(*args)
| | each(*args) { ...
|
| No. Something more than simple iteration must be done via Enumerator,
| in my opinion. If it would result the request for Enumerator
| enhancement, that's fine for me.
Enumerator?
T.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic