3 ms·
Thank you for the pointer to Lua! Will have a look. Yes, "scope" is in the end the evaluation environment of some funktion. Usually it's not a first-class obje
by still_grokking 5y ago
Thank you for the pointer to Lua! Will have a look.
Yes, "scope" is in the end the evaluation environment of some funktion. Usually it's not a first-class object in a particular language, and only available implicitly.
Having it first-class would mean being able to directly manipulate and pass function environments.
Like I said, I'm not sure this makes sense at all. But maybe it could open up some possibilities.
(I came up with the general idea when thinking about what the "implicit scope" in Scala is, or could be seen as).