RandomSample
RandomSample(items)create a random sample for the arguments of the
items.
RandomSample(items, n)randomly picks
nitems from items. Each pick in thenpicks happens after the previous items picked have been removed from items, so each item can be picked at most once.
Examples
>> RandomSample(f(1,2,3,4,5))f(3,4,5,1,2)
>> RandomSample(f(1,2,3,4,5),3)f(3,4,1)Implementation status
- ✅ - full supported