[#300] Ruby 1.3.3-990507 — matz <matz@...>
Ruby 1.3.3-990507 is out, check out:
1 message
1999/05/07
[#314] Arity features for Proc object? — matz@... (Yukihiro Matsumoto)
A mail from <yeboah@tu-harburg.de> is somehow rejected by the list
12 messages
1999/05/17
[#315] Re: Arity features for Proc object?
— matz@... (Yukihiro Matsumoto)
1999/05/17
[#316] Re: Arity features for Proc object?
— gotoken@... (GOTO Kentaro)
1999/05/17
In message "[ruby-talk:00315] Re: Arity features for Proc object?"
[#318] Re: Arity features for Proc object?
— matz@... (Yukihiro Matsumoto)
1999/05/17
Hi.
[#319] Re: Arity features for Proc object?
— gotoken@... (GOTO Kentaro)
1999/05/17
In message "[ruby-talk:00318] Re: Arity features for Proc object?"
[#320] Re: Arity features for Proc object?
— matz@... (Yukihiro Matsumoto)
1999/05/17
Hi.
[#323] binding — Pros Yeboah <yeboah@...>
Hi
5 messages
1999/05/18
[#331] module-class calling — "Michael Neumann" <neumann@...>
Hi...
5 messages
1999/05/22
[#357] thinking aloud — "Bryce Dooley" <thecrow@...>
First off, I think Ruby is a very nice scripting language.
7 messages
1999/05/29
[ruby-talk:00319] Re: Arity features for Proc object?
From:
gotoken@... (GOTO Kentaro)
Date:
1999-05-17 08:52:05 UTC
List:
ruby-talk #319
In message "[ruby-talk:00318] Re: Arity features for Proc object?"
on 99/05/17, Yukihiro Matsumoto <matz@netlab.co.jp> writes:
>I see. Thank you. I expected you to answer this question, Gotoken.
Aha, I felt that I was called :-)
If I can add an etymology, `arity' is a technical term of mathematics,
which is derived from unary, binary, trinary, ... , n-ary etc.
It is reraly translated to `kou suu' in Japanese.
>Parameter assignment for blocks is done by multiple assignment, which
>does not do the number check. I know it's little bit weird for Proc
>objects, but the Proc is relatively new feature to Ruby. I couldn't
>ignore compatibility. I would add argument number check to the Proc
>objects in the future version, maybe.
I hope so. But it might cause serious incompatibility to earlier
versions because Proc.new{|i|...} can receive .call(a,b) as an array.
We should have discussions.
-- gotoken