[squeak-dev] Adding access to outer scopes to DynamicVariable

Frank Shearar frank.shearar at gmail.com
Thu Apr 18 15:54:56 UTC 2019


Just one: DynamicVariable is incompatible with stack operations (*).
Delimited dynamic variables are what you want, and they're in a package on
SqueakMap -
http://map.squeak.org/package/00e786be-3742-4976-be5b-ddfb6b51aeda.

(*)  http://okmij.org/ftp/Computation/dynamic-binding.html#DDBinding digs
into why that is - the tl;dr is "because there are multiple incompatible
possible sensible ways of combining dynamic binding and dynamic control
(stack operations), there are no sensible ways of combining the two".

frank

On Thu, 18 Apr 2019 at 05:41, Marcel Taeumel <marcel.taeumel at hpi.de> wrote:

> Hi, there.
>
> Please find attached the addition of outer-scope access to
> DynamicVariable. Any thoughts on performance and programming interface?
>
> I would like to add it to trunk in the next week. :-)
>
> Best,
> Marcel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20190418/c845764f/attachment.html>


More information about the Squeak-dev mailing list