Changeset 15131 for docs/Perl6/Spec

Show
Ignore:
Timestamp:
01/23/07 02:26:40 (22 months ago)
Author:
lwall
Message:

Made map return a multislice.

Files:
1 modified

Legend:

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

    r15084 r15131  
    1313                Mark Stosberg <mark@summersault.com> 
    1414 Date:          12 Mar 2005 
    15  Last Modified: 16 Jan 2007 
    16  Version:       10 
     15 Last Modified: 22 Jan 2007 
     16 Version:       11 
    1717 
    1818This document attempts to document the list of builtin functions in Perl 6. 
     
    767767 
    768768 @factors = map { prime_factors($_) }, @composites; 
     769 
     770The actual return value is a multislice containing one slice per 
     771map iteration.  In most contexts these slices are flattened into a 
     772single list. 
    769773 
    770774=item reduce