Re: [Python-ideas] Jump to function as an an alternative to call function

2018-08-17 Thread Jacob Solinsky
ion is unlikely to lead to any > meaningful action otherwise. > > On Thu, Aug 16, 2018 at 4:37 PM, Jacob Solinsky > wrote: > >> So when getx is executed inside a let form, if it tries to read/write the >> value of X it interacts with the X entry in the let form's sym

Re: [Python-ideas] Jump to function as an an alternative to call function

2018-08-16 Thread Jacob Solinsky
On Thu, 16 Aug 2018, 12:44 Jacob Solinsky, wrote: > I wanted the called, jumped to function to change state in the caller. > From what I tried to do, passing locals() cannot accomplish this. I have > made it happen in other languages though. > In the R language, one can do

Re: [Python-ideas] Jump to function as an an alternative to call function

2018-08-15 Thread Jacob Solinsky
k-pack that carries around what you > need. > > It's difficult to see what you're after from your Verb and Morpheme > example. They don't seem to call any functions that use variables from the > caller's scope. Can you flesh that out a bit better? > > > On Wed, Aug 15, 2018 at

[Python-ideas] Jump to function as an an alternative to call function

2018-08-15 Thread Jacob Solinsky
-Jumping to a function as opposed to calling a function When a function is jumped to, it inherits the variables in the caller’s local namespace and is free to modify them or add new local variables, unlike a normal function call, wherein the caller’s namespace is inaccesible. At present, the