Archive for September, 2007
More Random fun
The next obvious functions after “Pick†are “Unpick†to eject a value randomly from the list, and “Pick N†values from the list. unpick is fairly straight-forward. To do in a single pass, you have to thread through the list of values, but otherwise it's more or less the same as the previous code for […]