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.