At 04:36 PM 8/11/00 -0400, John Porter wrote: >Damian Conway wrote: > > > Note that cleave is its own antonym! :-) > > > > I can see it now: > > > > @interspersed = cleave(@list1, @list2, @list3) > > @separated = cleave(3,@interspersed); > > > > Now *that's* DWIM! ;-) > >In fact, perl really only needs one OP: > > @results = dwim $stuff, @args, %hey; > >(Well, I guess that's two: the assignment is an op also.) Nah, toss the assignment op and replace it with dwim too. Perl will just do all possible operations simultaneously (in constant time, of course) and the right result will collapse out the other end. Yeah, that's the ticket... :) Dan --------------------------------------"it's like this"------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk
- Re: RFC 90 (v1) Builtins: zip() and unzip() Andy Wardley
- Re: RFC 90 (v1) Builtins: zip() and unzip() John Porter
- Re: RFC 90 (v1) Builtins: zip() and unzip() Graham Barr
- Re: RFC 90 (v1) Builtins: zip() and unzip() Damien Neil
- Re: RFC 90 (v1) Builtins: zip() and unz... Dave Storrs
- Re: RFC 90 (v1) Builtins: zip() an... Ariel Scolnicov
- Re: RFC 90 (v1) Builtins: zip() and unzip() Brad Hughes
- Re: RFC 90 (v1) Builtins: zip() and unzip() Mike Pastore
- Re: RFC 90 (v1) Builtins: zip() and unzip() Damian Conway
- Re: RFC 90 (v1) Builtins: zip() and unzip() John Porter
- Re: RFC 90 (v1) Builtins: zip() and unz... Dan Sugalski
- Re: RFC 90 (v1) Builtins: zip() and unzip() Damian Conway
- Re: RFC 90 (v1) Builtins: zip() and unz... Michael Fowler
- Re: RFC 90 (v1) Builtins: zip() and unzip() Tom Hughes
- Re: RFC 90 (v1) Builtins: zip() and unzip() Philip Newton
- Re: RFC 90 (v1) Builtins: zip() and unzip() Jeremy Howard
- Re: RFC 90 (v1) Builtins: zip() and unzip() John Porter
- Re: RFC 90 (v1) Builtins: zip() and unzip() raptor
- Re: RFC 90 (v1) Builtins: zip() and unzip() raptor
- Re: RFC 90 (v1) Builtins: zip() and unzip() Stephen P. Potter
- Re: RFC 90 (v1) Builtins: zip() and unzip() Jeremy Howard