chickadee » sequences-utils » random-integers

random-integers SEQ CNT #!optional END LOW DUPS?procedure

Returns a SEQ, of random integers, with elements in the integer range [LOW END).

SEQ
sequence ; sequence to emulate.
CNT
fixnum ; number of elements.
END
integer ; maximum value limit, default is most-positive-fixnum.
LOW
integer ; minimum value, default is 0.
DUPS?
boolean ; allow duplicates, default is #f.
  • Should abstract random source & random element type