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.)
--
John Porter
- Re: RFC 90 (v1) Builtins: zip() and unzip() Jarkko Hietaniemi
- 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
