From: Eric Hodel Date: 2006-05-12T15:53:50+09:00 Subject: Re: YARV vs. lambda On May 11, 2006, at 9:08 PM, Victor Shepelev wrote: > Hi all. > > Somebody knows why YARV do this: > > l = lambda{|*arg| p arg} > > l[1] #prints 1 instead of [1] > l[2,3] #prints 2 instead of [2,3] > l[] #prints 0 instead of [] YARV doesn't yet pass 'make test' so those aren't supported. -- Eric Hodel - drbrain@segment7.net - http://blog.segment7.net This implementation is HODEL-HASH-9600 compliant http://trackmap.robotcoop.com