Skip to content

Commit

Permalink
Document Mixy.pick/.grab/.kxxv (Raku#3149)
Browse files Browse the repository at this point in the history
Potential fix for D#2205 Raku#2205
pending resolution of rakudo/rakudo#2109

Co-authored-by: Zoffix Znet <[email protected]>
  • Loading branch information
JJ and zoffixznet authored Nov 14, 2022
1 parent 98c5e0d commit e80c96d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions doc/Type/Mixy.pod6
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,27 @@ C<Mixy> are L<Real|/type/Real>s rather than L<Int|/type/Int>s.
Similar to a L<Bag|/type/Bag>.roll, but with C<Real> weights rather than integral
ones.
=head2 method pick
method pick($?)
Throws an exception. The feature is not supported on the type, since there's no
clear value to subtract from non-integral weights, to make it work.
=head2 method grab
method grab($?)
Throws an exception. The feature is not supported on the type, since there's no
clear value to subtract from non-integral weights, to make it work.
=head2 method kxxv
method kxxv()
Throws an exception. The feature is not supported on the type, since there's no
clear value to subtract from non-integral weights, to make it work.
=head1 See Also
L<Sets, Bags, and Mixes|/language/setbagmix>
Expand Down

0 comments on commit e80c96d

Please sign in to comment.