[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ruby-talk
Subject:    Re: Blocks as Block / Proc parameters
From:       matz () ruby-lang ! org (Yukihiro Matsumoto)
Date:       2004-01-26 12:39:02
Message-ID: 1075120740.175475.1867.nullmailer () picachu ! netlab ! jp
[Download RAW message or body]

Hi

In message "Blocks as Block / Proc parameters"
    on 04/01/26, "Robert Klemme" <bob.news@gmx.net> writes:

|How |about extending Proc to accept blocks like this:
|
|proc {|foo, &bl|
|  puts "foo=#{foo}"
|  bl.call if bl
|}

|Matz, this is not too big a change, is it?

Too big for the current implementation.  But I plan to accept your
idea in the future Ruby2.

							matz.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic