Replies: 1 comment
-
Here is one solution: create your own abstract (non-handled) effect type, and mimic the reference / local-var.
I think the You'll notice in my example I add |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Do I understand correctly that Scope kind S keeps track of a local scope and makes sure a value doesn’t escape its surroundings? But how does it work? I’d like to create a data type that has a similar escape analysis as local-var, but I don’t seem to succes. Say something with an interface like the code below.
Hope anyone can help.
Beta Was this translation helpful? Give feedback.
All reactions