Pick random element: Difference between revisions

Content added Content deleted
(Rename Perl 6 -> Raku, alphabetize, minor clean-up)
m (→‎{{header|Raku}}: Fix comment: Perl 6 --> Raku)
Line 983: Line 983:


There are various ways of doing something similar, though.
There are various ways of doing something similar, though.
Perl 6 has actually two methods (with associated functional forms)
Raku has actually two methods (with associated functional forms)
to return random elements depending on whether you are doing selection
to return random elements depending on whether you are doing selection
with or without replacement.
with or without replacement.