-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change renames "non-empty" bound types to "variant" bound types and generalizes `BoundedVariantRange`'s `union` and `extension` operations. This has a nice result of composing well with disjunction for naturals: there is no need to explicitly check for non-zero invariants. This arguably "fixes" the `Disjunction` implementation for `Variance` too, since the disjunction of bounded ranges ought to produce a potentially unbounded output.
- Loading branch information
1 parent
01c893d
commit d5f20cf
Showing
7 changed files
with
148 additions
and
157 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
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
Oops, something went wrong.