RAII-like unfolding of predicates #1168
pieter-bos
started this conversation in
Ideas
Replies: 1 comment
-
If we expand our notion of pure methods, this would also make precise what should happen when an |
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
-
It would be nice if you could use unfolding as a statement, which is folded when a scope is exited. In this example, we need to unfold state, and refold it on method exit:
This requires specifying at each arrow that we refold the predicate. It would be nice if this is automatic. It could rely on the try/finally encoding we already have.
Beta Was this translation helpful? Give feedback.
All reactions