Anonymous user
Set puzzle: Difference between revisions
→{{header|Tailspin}}: use cartesian product syntax
(Add Rust implementation) |
(→{{header|Tailspin}}: use cartesian product syntax) |
||
Line 3,940:
Dealing cards at random to the size of the desired hand, then trying again if the desired set count is not achieved.
<lang tailspin>
def deck: [ { by 1..3 ->
by 1..3 ->
by 1..3 ->
by 1..3 ->
];
|