I find myself using this all the time; it seems it'd be handy to have built in.
(define (shuffled list) (sort list < #:key (lambda (_) (random)) #:cache-keys? #t)) Thanks. _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev