chickadee » sequences-utils » random-sample

random-sample SEQ #!optional CNTprocedure

Returns list of elements randomly sampled from SEQ.

SEQ
sequence ; sequence to sample.
CNT
fixnum ; length of result list, default is random in [0 (- (size SEQ) 1)].