-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use restarts for control flow (#171)
Restarts are a (very) rarely used technique that allows for non-local control flow, i.e. the ability to jump immediately to a different destination in a calling function. This allows us to direct what should happen in the error calling handler (which usually can't affect control flow) based on the value of `on_error`.
- Loading branch information
Showing
2 changed files
with
38 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters