[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] Fix #1620 by ignoring captured state of re
From: |
Peter Bex |
Subject: |
Re: [Chicken-hackers] [PATCH] Fix #1620 by ignoring captured state of replaced variables |
Date: |
Sun, 30 Jun 2019 17:46:23 +0200 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
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
signature.asc
Description: PGP signature