Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lift a simple function into an operation safely.
There is the potential for a function, if it is a continuation, to cause the scope in which it is called to be destroyed. In this case, nothing after that function should ever be called. However, because of the way `lift()` is currently implemented, this will not be the case. This unpacks the `lift()` function to be a single instruction that immediately returns value of invoking the function. However, because there is a `yield` point in the computation, it is an opportunity to not continue which will happen if corresponding frame is closed.
- Loading branch information