If I call `write-bytes` with mutable byte string S with value A, and then, immediately after return from the call, I mutate S to value B... is it nevertheless guaranteed that value A will be written?

I think this behavior is unspecified right now (regardless of what the current implementation does). I either need it specified, or to assume that I can't mutate S. (Reason I'd like to mutate it is templates for protocol frames with both constant and variable bytes, if the byte string is always going to be sent or copied before `write-string` returns anyway.)

Neil V.

--
You received this message because you are subscribed to the Google Groups "Racket 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to