Best shuffle: Difference between revisions

Content added Content deleted
(added Version with random result)
m (Regularize non-standard header markup)
Line 1,232: Line 1,232:
</lang>
</lang>


== {{header|Crystal}} ==
=={{header|Crystal}}==
{{trans|Ruby}}
{{trans|Ruby}}


Line 3,583: Line 3,583:
</pre>
</pre>


== {{header|Ruby}} ==
=={{header|Ruby}}==
{{works with|Ruby|1.9}}
{{works with|Ruby|1.9}}
{{trans|Raku}}
{{trans|Raku}}
Line 3,634: Line 3,634:
</pre>
</pre>


== {{header|Run BASIC}} ==
=={{header|Run BASIC}}==
<lang runbasic>list$ = "abracadabra seesaw pop grrrrrr up a"
<lang runbasic>list$ = "abracadabra seesaw pop grrrrrr up a"


Line 3,670: Line 3,670:
a a 1</pre>
a a 1</pre>


== {{header|Rust}} ==
=={{header|Rust}}==
{{libheader|rand}}
{{libheader|rand}}
<lang rust>extern crate permutohedron;
<lang rust>extern crate permutohedron;