Ray Dillinger <xxxxxx@sonic.net> writes:
> On 1/25/24 13:33, Bradley Lucier wrote:
>> The definition of char-generator uses (make-random-integer-generator 0
>> max-char), where the upper bound is exclusive. So you might want to have
>>
>> (define max-char (cond-expand (full-unicode #x110000) (else 128)))
>
> For implementations that use unicode grapheme clusters as characters, how should
> they indicate that max-char is unbounded?
When porting the sample library to those implementations I would
probably remove max-char entirely, since char-generator would need to be
rewritten to support grapheme clusters anyway.