Changeset 15327 for docs/Perl6/Spec

Show
Ignore:
Timestamp:
02/22/07 20:20:59 (21 months ago)
Author:
lwall
Message:

Y -> Z, XX -> X

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • docs/Perl6/Spec/Functions.pod

    r15254 r15327  
    510510 
    511511 our Iterator multi Container::zip ( Bool :$shortest, Bool :$finite, *@@list ) 
    512  our Iterator multi infix:Container::¥ ( Bool :$shortest, Bool :$finite, *@@list ) 
    513  our Iterator multi infix:Container::Y ( Bool :$shortest, Bool :$finite, *@@list ) 
     512 our Iterator multi infix:Container::Z ( Bool :$shortest, Bool :$finite, *@@list ) 
    514513 
    515514zip takes any number of arrays and returns one tuple for every index. 
    516515This is easier to read in an example: 
    517516 
    518  for zip(@a;@b;@c) -> [$nth_a,$nth_b,$nth_c] { 
     517 for zip(@a;@b;@c) -> $nth_a, $nth_b, $nth_c { 
    519518   ... 
    520519 } 
     
    531530at run-time to represent infinite ranges are left. 
    532531 
    533 C<¥> (and its ASCII equivalent, C<Y>) is an infix equivalent for zip: 
    534  
    535  for @a ¥ @b ¥ @c -> [$a,$b,$c] {...} 
     532C<Z> is an infix equivalent for zip: 
     533 
     534 for @a Z @b Z @c -> $a, $b, $c {...} 
    536535 
    537536=back