Re: S3 vs. S4: parallel lists

2006-01-04 Thread Larry Wall
On Tue, Jan 03, 2006 at 11:58:38PM -0800, Jonathan Lang wrote: : I think there might be a discrepency between S3 and S4. You are correct--S4 was out of date. Thanks. Larry

S3 vs. S4: parallel lists

2006-01-03 Thread Jonathan Lang
I think there might be a discrepency between S3 and S4. S3: > In order to support parallel iteration over multiple arrays, > Perl 6 has a zip function that builds tuples of the elements of > two or more arrays. > > for zip(@names; @codes) -> [$name, $zip] { > print "Name: $name; Zip