From: trans Date: 2012-02-08T11:43:49+09:00 Subject: [ruby-core:42428] Re: [ruby-trunk - Feature #708] Lazy Enumerator#select, Enumerator#map etc. ------=_Part_2857_2175609.1328669023135 Content-Type: multipart/alternative; boundary="----=_Part_2858_24688758.1328669023135" ------=_Part_2858_24688758.1328669023135 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Konnichiwa matz, Which term do you prefer for the method #lazy or #defer ? Also organization (regardless of actual names), there is Enumerable namespace, e.g. module Enumerable class Deferred < Enumerator Or toplevel namespace, e.g. class Denumerator < Enumerator And note that previously mentioned Denumerable module allows option of mixin independent of Enumerable. If is organized like: module Denumerable ... end class Denumerator include Denumerable end If you prefer "lazy" term I supposed the names for these would be "LazyEnumerable" and "LazyEnumerator" -- b/c I don't think "Lazierable" and "Lazierator" are going to cut it ;-) ------=_Part_2858_24688758.1328669023135 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Konnichiwa matz,

Which term do you prefer for the method #lazy or #defer ?

Also organization (regardless of actual names), there is Enumerable namespace, e.g.

    module Enumerable
      class Deferred < Enumerator

Or toplevel namespace, e.g.

    class Denumerator < Enumerator

And note that previously mentioned Denumerable module allows option of mixin independent of Enumerable. If is organized like:

    module Denumerable
       ...
    end

    class Denumerator
      include Denumerable
    end

If you prefer "lazy" term I supposed the names for these would be "LazyEnumerable" and "LazyEnumerator" -- b/c I don't think "Lazierable" and "Lazierator" are going to cut it ;-)

------=_Part_2858_24688758.1328669023135-- ------=_Part_2857_2175609.1328669023135--