You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It will print 12, since foo gets defined in that first sub-environment. But obviously, I want to push the definition up into in the parent environment.
Is there a way to do this that I am missing?
The text was updated successfully, but these errors were encountered:
I thought it would be nice if we could put the name of function first when defining it, so I wrote this:
For example:
This would print 12, but instead it errors saying it
Failed to find in key='foo' in environment.
But it almost works, if I write instead:It will print 12, since
foo
gets defined in that first sub-environment. But obviously, I want to push the definition up into in the parent environment.Is there a way to do this that I am missing?
The text was updated successfully, but these errors were encountered: