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 02:27 UTC

"Arthur A. Gleckler" <xxxxxx@speechcode.com> writes:

> Speaking without my editor's hat on, how about a way to sample from any subset
> of the Unicode categories, e.g. Letter, Symbol, Punctuation, etc?

I considered having char-generator take an optional SRFI-14 charset
argument, but decided against requiring the extra dependency. And it
would make char-generator inconsistent with the rest of the
zero-argument generator procedures.

Since R7RS-small is character set agnostic (besides ASCII, I think?), I
would be hesitant to include Unicode category-specific features in the
SRFI. But the above would be a good generator to have in an external
library.