Skip to content

Commit e80c96d

Browse files
JJzoffixznet
andauthored
Document Mixy.pick/.grab/.kxxv (#3149)
Potential fix for D#2205 #2205 pending resolution of rakudo/rakudo#2109 Co-authored-by: Zoffix Znet <zoffixznet@users.noreply.github.com>
1 parent 98c5e0d commit e80c96d

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

doc/Type/Mixy.pod6

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,27 @@ C<Mixy> are L<Real|/type/Real>s rather than L<Int|/type/Int>s.
1919
Similar to a L<Bag|/type/Bag>.roll, but with C<Real> weights rather than integral
2020
ones.
2121
22+
=head2 method pick
23+
24+
method pick($?)
25+
26+
Throws an exception. The feature is not supported on the type, since there's no
27+
clear value to subtract from non-integral weights, to make it work.
28+
29+
=head2 method grab
30+
31+
method grab($?)
32+
33+
Throws an exception. The feature is not supported on the type, since there's no
34+
clear value to subtract from non-integral weights, to make it work.
35+
36+
=head2 method kxxv
37+
38+
method kxxv()
39+
40+
Throws an exception. The feature is not supported on the type, since there's no
41+
clear value to subtract from non-integral weights, to make it work.
42+
2243
=head1 See Also
2344
2445
L<Sets, Bags, and Mixes|/language/setbagmix>

0 commit comments

Comments
 (0)