Function: ONE-OF

Documentation

randomly choose one element from list

Source

(defun one-of (list)
  "randomly choose one element from list"
  (list (random-elt list)))
Source Context