Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Equivalence between matchers #459

Merged
merged 1 commit into from Jan 5, 2024

Conversation

elbeno
Copy link
Collaborator

@elbeno elbeno commented Jan 5, 2024

A building block for #456. Two matchers are three-way comparable, yielding a partial ordering.

X => Y means that X > Y (intuition: "greater than" means "more strongly constrained match").

X => Y and Y => X means that X and Y are equivalent.

A building block for intel#456. Two matchers are three-way comparable, yielding a
partial ordering.

X => Y means that X > Y (intuition: "greater than" means "more strongly
constrained match").

X => Y and Y => X means that X and Y are equivalent.
Copy link
Contributor

@lukevalenty lukevalenty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beautiful application of implication!

@lukevalenty lukevalenty merged commit 863b764 into intel:main Jan 5, 2024
16 checks passed
@elbeno elbeno deleted the matcher-equivalence branch January 8, 2024 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants