preliminary comments Peter McGoron (03 May 2026 19:49 UTC)
Re: preliminary comments John Cowan (04 May 2026 02:21 UTC)
Re: preliminary comments Wolfgang Corcoran-Mathe (04 May 2026 19:44 UTC)
Re: preliminary comments Peter McGoron (04 May 2026 20:05 UTC)
Re: preliminary comments John Cowan (05 May 2026 02:15 UTC)
Re: preliminary comments Wolfgang Corcoran-Mathe (05 May 2026 16:31 UTC)
Re: preliminary comments John Cowan (05 May 2026 20:53 UTC)

Re: preliminary comments John Cowan 04 May 2026 02:20 UTC

On Sun, May 3, 2026 at 3:49 PM Peter McGoron <xxxxxx@mcgoron.com> wrote:

> 3. "random-port-state" This should specify if it shares state or is
> newly allocated.

I'd say it would be best if it is an error/UB to mutate the
bytevector, just as it is to mutate the result of string->symbol, even
in R6RS.

> 4. SRFI 27 also exposes procedures to generate integers and inexact
> reals. Generating integers from bytes is straightforward, but inexact
> reals are more difficult and implementation specific.

I'm inclined to think procedures to return exact integers amd
flonums, with mandatory explicit ranges, are worth including in this
SRFI, as they will help people not to make foolish mistakes.   They
should be put in their own library.

BTW,  an editorial matter: we usually say "this SRFI" instead of "SRFI
271".  It took me an extra minute to remember what SRFI 271 was.