chickadee » srfi-194 » make-random-char-generator

make-random-char-generator stringprocedure

Returns a generator that generates characters in string uniformly. Note that the characters in string need not be distinct, which allows simple weighting. It is an error if string is empty.