File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -610,7 +610,8 @@ L«C<List.roll>|/type/List#routine_roll» on it.
610
610
say $m.roll; # OUTPUT: «(ß ß þ ß þ)»
611
611
612
612
C < $m > , in this case, is converted into a list and then a (weighted in
613
- this case) dice is rolled on it. See also L < C < List.roll > |/type/List#routine_roll> for more information.
613
+ this case) dice is rolled on it. See also
614
+ L < C < List.roll > |/type/List#routine_roll> for more information.
614
615
615
616
= head2 method pick
616
617
@@ -623,8 +624,9 @@ Coerces the invocant to a C<list> by applying
623
624
its L « C < .list > |/routine/list» method and uses
624
625
L « C < List.pick > |/type/List#routine_pick» on it.
625
626
626
- say Any.pick; # OUTPUT: «(Any)»
627
- say Any.pick(5); # OUTPUT: «((Any))»
627
+ my Range $rg = 'α'..'ω'
628
+ say $rg.pick(3); # OUTPUT: «(β α σ)»
629
+
628
630
629
631
= head2 method skip
630
632
You can’t perform that action at this time.
0 commit comments