Closed JSAbrahams closed 4 years ago
We don't desugar the retry statement.
A retry should allow us to retry the statement in a handle. This is akin to the retry in Eiffel.
Wrap entire try except in a while block perhaps.
Can't really think of anything else at the moment, but more elegant solutions might be possible.
Retry has been dropped from the language
Current Issue
We don't desugar the retry statement.
Description of the feature
A retry should allow us to retry the statement in a handle. This is akin to the retry in Eiffel.
Description of potential solution
Wrap entire try except in a while block perhaps.
Alternatives considered
Can't really think of anything else at the moment, but more elegant solutions might be possible.