[CM] random stream with lists?

Orm Finnendahl finnendahl@folkwang-hochschule.de
Tue, 23 Sep 2003 14:43:16 +0200


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