-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Define tIsNominal and use it (#1733)
This defines a `tIsNominal :: Type -> Maybe (NominalType, [Type])` function. There is one spot in `Cryptol.TypeCheck.Infer` where this can more neatly replace a manual pattern match on `TNominal`, so I went ahead and did this as well. Fixes #1732.
- Loading branch information
1 parent
2fb70e6
commit cc3b3fb
Showing
2 changed files
with
10 additions
and
5 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