Changeset 19997 for docs/Perl6/Spec

Show
Ignore:
Timestamp:
02/25/08 00:16:28 (9 months ago)
Author:
lwall
Message:

missing some array methods

Files:
1 modified

Legend:

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

    r19639 r19997  
    1313                Mark Stosberg <mark@summersault.com> 
    1414 Date:          12 Mar 2005 
    15  Last Modified: 14 Jan 2008 
    16  Version:       18 
     15 Last Modified: 24 Jan 2008 
     16 Version:       19 
    1717 
    1818This document attempts to document the list of builtin functions in Perl 6. 
     
    533533 
    534534=over 
     535 
     536=item shape 
     537 
     538 our Capture method shape (@array: ) is export 
     539 
     540Returns the declared shape of the array, as described in S09. 
     541 
     542=item end 
     543 
     544 our Any method end (@array: ) is export 
     545 
     546Returns the final subscript of the first dimension; for a one-dimensional 
     547array this simply the index of the final element.  For fixed dimensions 
     548this is the declared maximum subscript.  For non-fixed dimensions (undeclared 
     549or explicitly declared with C<*>), the actual last element is used. 
     550 
     551=item elems 
     552 
     553 our Int method elems (@array: ) is export 
     554 
     555Returns the length of the array counted in elements.  (Sparse array 
     556types should return the actual number of elements, not the distance 
     557between the maximum and minimum elements.) 
    535558 
    536559=item delete