On Sun, Jun 30, 2019 at 11:33:17AM -0400, John Cowan wrote:
> Obviously this is not something you can do in a patch,
> but at some point Chicken may want to go
> over to the assignment conversion strategy, in which all mutable
> local variables are transformed into immutable references to boxes.

I think this already happens in CHICKEN.  When a variable is both
captured and assigned, it is put in a box (see core.scm:2274).

I'd be the first to admit I'm not super familiar with this stuff, so
it could be something different from what you're suggesting.

Cheers,
Peter

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Chicken-hackers mailing list
Chicken-hackers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-hackers

Reply via email to