ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl6-language
perl6-language
sub my_zip (...?) {}
by Autrijus Tang other posts by this author
Jun 16 2005 2:41AM messages near this date
Re: Ignoring parameters | Re: sub my_zip (...?) {}
Currently in Pugs &*zip has no signature -- it simply rewrites its
arguments into the listfix �D (i.e. Y) function.

That is bad because it can't be introspected, and you can't define
something like that yourself.  It also makes it uncompilable to Parrot
as I don't control the runloop there. :)

Also, currently the following code does not flatten @a and @b together,
which I'm not exactly sure is correct or not:

    zip(@a, @b);

What should &zip's function signature be, if I want to do something like
zip() that handles semicolon lists? 

Thanks,
/Autrijus/
Attachments:
unknown1
unknown2

Thread:
Autrijus Tang
Larry Wall
Smylers
Gaal Yahas
Larry Wall
Dave Whipp
Larry Wall
Luke Palmer
Larry Wall

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved