uniformly random distribution Shiro Kawai (07 Mar 2024 00:37 UTC)
Re: uniformly random distribution Antero Mejr (07 Mar 2024 01:42 UTC)
Re: uniformly random distribution Shiro Kawai (07 Mar 2024 01:52 UTC)
Re: uniformly random distribution Antero Mejr (07 Mar 2024 02:40 UTC)
Re: uniformly random distribution Shiro Kawai (07 Mar 2024 03:11 UTC)
Re: uniformly random distribution Arthur A. Gleckler (07 Mar 2024 01:53 UTC)
Re: uniformly random distribution Antero Mejr (07 Mar 2024 02:28 UTC)
Re: uniformly random distribution Shiro Kawai (07 Mar 2024 02:46 UTC)

Re: uniformly random distribution Antero Mejr 07 Mar 2024 01:41 UTC

Shiro Kawai <xxxxxx@gmail.com> writes:

> I'm implementing srfi-252 from the spec and wondering if the "uniformly random
> distribution" requirement is desirable.
>
> For example, Gauche supports full unicode and it's easy to make (char-generator)
> return a generator that uniformly samples from the entire Unicode space. If we
> ...
> Will there be a drawback when we leave the distribution to each implementation?

Having uniform randomness allows us to enforce the use of SRFI 194,
which provides a standard way to create deterministic random values, by
setting the current-random-source parameter.

That is the main drawback. But I do think an ascii-char-generator would
be a good addition to the SRFI.