Author: duff
Date: 2009-11-06 16:02:47 +0100 (Fri, 06 Nov 2009)
New Revision: 29003
Modified:
docs/Perl6/Spec/S32-setting-library/Containers.pod
Log:
s/repl/replace/ that I missed before
Modified: docs/Perl6/Spec/S32-setting-library/Containers.pod
===================================================================
--- docs/Perl6/Spec/S32-setting-library/Containers.pod 2009-11-06 14:55:58 UTC (rev 29002)
+++ docs/Perl6/Spec/S32-setting-library/Containers.pod 2009-11-06 15:02:47 UTC (rev 29003)
@@ -194,10 +194,10 @@
=item pick
- our multi method pick ( @values: Int $num = 1, Bool :$repl )
- our multi method pick ( @values: Whatever, Bool :$repl )
- our multi pick ( Int $num, Bool :$repl, *@values )
- our multi pick ( Whatever, Bool :$repl, *@values )
+ our multi method pick ( @values: Int $num = 1, Bool :$replace )
+ our multi method pick ( @values: Whatever, Bool :$replace )
+ our multi pick ( Int $num, Bool :$replace, *@values )
+ our multi pick ( Whatever, Bool :$replace, *@values )
C<pick> takes a list or array of values and returns a random
selection of elements from the list (without replacement unless
@@ -836,8 +836,8 @@
=item pick
- our multi method pick ( $set: Int $num = 1, Bool :$repl )
- our multi method pick ( $set: Whatever, Bool :$repl )
+ our multi method pick ( $set: Int $num = 1, Bool :$replace )
+ our multi method pick ( $set: Whatever, Bool :$replace )
Like an ordinary list pick, but returns keys of the bag weighted by
values, as if the keys were replicated the number of times indicated
@@ -859,8 +859,8 @@
=item pick
- our multi method pick ( $bag: Int $num = 1, Bool :$repl )
- our multi method pick ( $bag: Whatever, Bool :$repl )
+ our multi method pick ( $bag: Int $num = 1, Bool :$replace )
+ our multi method pick ( $bag: Whatever, Bool :$replace )
Like an ordinary list pick, but returns keys of the bag weighted by
values, as if the keys were replicated the number of times indicated