chickadee » list-utils » list-cyclic-sample

list-cyclic-sample LS #!optional CNTprocedure

Returns list of elements, sampled every CNT elements, from LS.

Every element i in [0 length(LS)-1] where i modulo CNT = 0; so first element always included.

CNT
fixnum ; cycle length, default is 7.