Closed mkhan45 closed 2 years ago
I guess the solution is to add all top level function definitions to the static state and add them to every closure def
This wouldn't work, maybe the solution is to make a different type of thunk for when the function name isn't resolved at definition time
I think that to do this we need to differentiate between closures and lambdas
Right now a workaround is to declare functions inside of each other