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
|