Dear Racketeers,

Is there something I have misunderstood about vectors, boxes and places which 
might explain why immutable boxes are not place-message-allowed, but immutable 
vectors are?

> (place-message-allowed? (box-immutable #f))
#f
> (place-message-allowed? (vector-immutable #f))
#t
> 

c.f.

https://docs.racket-lang.org/reference/boxes.html 
<https://docs.racket-lang.org/reference/boxes.html> 

A  <>box is like a single-element vector, normally used as minimal mutable 
storage.

Best,

Tim

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/878F140E-3160-4B88-BB8B-4C04B1668BCB%40timjervis.com.

Reply via email to