From: Mathieu Bouchard Date: 2006-10-04T21:51:05+09:00 Subject: Re: [ruby-cvs:18323] ruby: * eval.c (splat_value): use "to_splat" instead of "to_ary" to --8323328-835116761-1159965974=:13079 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-835116761-1159965974=:13079" This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-835116761-1159965974=:13079 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Tue, 3 Oct 2006, matz wrote: > * eval.c (splat_value): use "to_splat" instead of "to_ary" to > prepare splat values as an array. > * array.c (Init_Array): define to_splat. > * range.c (range_to_splat): new method. > * enumerator.c (enumerator_to_splat): ditto. Reminds me of "List Context" in Perl. I thought that pretty much everybody was against that feature of Perl. Maybe it's not so much like List Context, but still, it looks like=20 hairsplitting: why would one make a distinction between making an array=20 and... making an array? _ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - t=E9l:+1.514.383.3801 - http://artengine.ca/matju | Freelance Digital Arts Engineer, Montr=E9al QC Canada --8323328-835116761-1159965974=:13079-- --8323328-835116761-1159965974=:13079--