• Dynamic scope and parameter objects (was: Is Lexical Binding The Norm Y

    From Stefan Monnier@21:1/5 to All on Tue Jan 16 18:01:21 2024
    Kaz Kylheku [2024-01-15 01:16:10] wrote:
    It is seen as useful in the Scheme community, where it gets reinvented
    as fluid-let (SRFI 15) or the really bizarre concoction of "parameter objects" (SRFI 39).

    Most of SRFI-39 strikes me as intuitive rather than bizarre (it's
    basically plain-old dynamic scoping just using objects instead of
    symbols to "name" the "variables"), but I do find the `converter` part
    rather odd.

    Does anyone know why that `converter` was added to SRFI 39?

    I also can't see how to define something equivalent to `progv` on top of SRFI-39.


    Stefan

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)