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
Is your feature request related to a problem? Please describe.
You should be able to return a closure function.
Describe the solution you'd like
let
equals: (a) => (b) => a == b
in
equals(0)
- 0
Implementation details
At the moment, we return functions as values, without the environment they "close over". A function value should now have an environment attached, which will be used when evaluating.
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
You should be able to return a closure function.
Describe the solution you'd like
Implementation details
At the moment, we return functions as values, without the environment they "close over". A function value should now have an environment attached, which will be used when evaluating.
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: