-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor: make Throw/ThrowSTM take SomeException
Rather than using Exception e => e. Instead the toException is done in the constructor wrappers. The only place we really need the Exception e constraint is in Catch where we need the Typeable instance for the cast. Also allows some simplification in the interpreter.
- Loading branch information
Showing
1 changed file
with
12 additions
and
15 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