From: Mark Slagell Date: 2000-12-03T01:29:13+09:00 Subject: [ruby-talk:6746] Re: behavior of Proc#arity? Yukihiro Matsumoto wrote: > > Hi, > > In message "[ruby-talk:6714] Re: behavior of Proc#arity?" > on 00/12/02, Steven Grady writes: > > |(BTW, should do the same magic as ? > |Right now, it generates a parse error.) > > Hmm, let me think about this for a while. > matz. Note that POLS can't be entirely satisfied here: a,b,c = 1,2,3 # a=1; b=2; c=3 a,b = 1,2,3 # a=1; b=2 a = 1,2,3 # a=1 but, proc{|a| a}.call(1,2) returns an array. Would we want to distinguish a=1,2 from a=[1,2] ? Mark