develooper Front page | perl.perl6.language | Postings from March 2009

r25750 - docs/Perl6/Spec/S32-setting-library

From:
pugs-commits
Date:
March 8, 2009 11:52
Subject:
r25750 - docs/Perl6/Spec/S32-setting-library
Message ID:
20090308185209.13740.qmail@feather.perl6.nl
Author: moritz
Date: 2009-03-08 19:52:09 +0100 (Sun, 08 Mar 2009)
New Revision: 25750

Modified:
   docs/Perl6/Spec/S32-setting-library/Containers.pod
Log:
[S32/Containers] remove nonsensical return value from min/max


Modified: docs/Perl6/Spec/S32-setting-library/Containers.pod
===================================================================
--- docs/Perl6/Spec/S32-setting-library/Containers.pod	2009-03-08 18:44:47 UTC (rev 25749)
+++ docs/Perl6/Spec/S32-setting-library/Containers.pod	2009-03-08 18:52:09 UTC (rev 25750)
@@ -324,12 +324,12 @@
 
 =item min
 
- our Array multi method min( @values: *&by )
- our Array multi method min( @values: Ordering @by )
- our Array multi method min( @values: Ordering $by = &infix:<cmp> )
+ our multi method min( @values: *&by )
+ our multi method min( @values: Ordering @by )
+ our multi method min( @values: Ordering $by = &infix:<cmp> )
 
- our List multi min( Ordering @by,  *@values )
- our List multi min( Ordering $by,  *@values )
+ our multi min( Ordering @by,  *@values )
+ our multi min( Ordering $by,  *@values )
 
 Returns the earliest (i.e., lowest index) minimum element
 of C<@values> , using criteria C<$by> or C<@by> for
@@ -348,12 +348,12 @@
 
 =item max
 
- our Array multi method max( @values: *&by )
- our Array multi method max( @values: Ordering @by )
- our Array multi method max( @values: Ordering $by = &infix:<cmp> )
+ our multi method max( @values: *&by )
+ our multi method max( @values: Ordering @by )
+ our multi method max( @values: Ordering $by = &infix:<cmp> )
 
- our List multi max( Ordering @by,  *@values )
- our List multi max( Ordering $by,  *@values )
+ our multi max( Ordering @by,  *@values )
+ our multi max( Ordering $by,  *@values )
 
 Returns the earliest (i.e., lowest index) maximum element
 of C<@values> , using criteria C<$by> or C<@by> for




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About