heap [Pattern]

Enumerates items by random permutation. The order of items is unpredictable but no item can be reselected until all items have been chosen.

Example:

? (setf x (notes c4 d e f in heap for 12))
#<HEAP-NOTE-STREAM 132054701>

? (read-items x)
(C4 E4 D4 F4 C4 F4 E4 D4 C4 D4 E4 F4)

See Also:

Item Streams


Last Modified: 5-Mar-1998