pickmod - pat
- xs
The same as pick, but if you pick a number greater than the size of the list,
it wraps around, rather than sticking at the maximum value.
For example, if you pick the fifth pattern of a list of three, you'll get the
second one.
| parameter | type |
|---|---|
| pat | |
| xs |
|
| returns |