Hi all,
This is a summary of ruby-dev ML in these days.
---- ruby-dev 16961-16990 (2002-04-19 ... 2002-04-26) ----
[ruby-dev:16976] narray
GOTO Kentaro has requested to bundle 'narray'
as the standard library.
narray is a numerical N-dimensional array library
written by Masahiro Tanaka. It provides fast and
efficient computing of the large data arrays.
see also: http://www.ruby-lang.org/en/raa-list.rhtml?name=NArray[ruby-dev:16978] Re: [rubyist:1343] Re: another sample for the Method
Koji Arai has suggested to allow passing any object with to_proc()
method to methods as block arguments (&block). For example:
class MyBlock
def to_proc
lambda {|i| print i }
end
end
[1,2,3].each( & MyBlock.new )
# equals to
# [1,2,3].each {|i| print i }
This idea has been implemented.
[ruby-dev:16989] making Proc in C
Nobuyoshi Nakada has proposed a new C API, rb_proc_new().
This function creates a Proc object from a C function.
Matz has accepted this idea.
[ruby-dev:16994] once.rb
OZAWA Sakuro has requested to bundle once.rb as the standard
library. once.rb provides Module#once, which forces to evaluate
some method only once. This method is described in P.251 of
pickaxe. (If you have Japanese edition, you can find it in p.291 :-)
This request has been accepted.
-- Minero Aoki