[CM] random stream with lists?

Orm Finnendahl finnendahl at folkwang-hochschule.de
Tue Sep 23 05:43:16 PDT 2003


Hi,

does anybody know of a straightforward way to do random streams with
lists as elements in cm 2.4?

This obviously doesn't work, but shows what I mean:

(new random :of '((2 1 3) (2) (3 1) (1 2)) :for 3)

-> ((2 1 3) (1 2) (2 1 3))

I'd prefer not to use a random stream of numbers to reference the
elements outside of the stream.

--
Orm




More information about the Cmdist mailing list