randoms-as ( length obj exemplar -- seq )


Vocabulary
random

Inputs
lengthan integer
objan object
exemplara sequence


Outputs
seqa sequence


Word description
Outputs a sequence of the same type as exemplar with length random values generated from obj.

Examples
USING: prettyprint random ranges ; 10 CHAR: A CHAR: Z [a..b] "" randoms-as .
"KEIYFPBAWJ"


See also
random*, random, randoms

Definition