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

[Major] Rename range_cmp -> rcmp #5

Merged
merged 3 commits into from Nov 8, 2023
Merged

[Major] Rename range_cmp -> rcmp #5

merged 3 commits into from Nov 8, 2023

Conversation

adriendellagaspera
Copy link
Member

@adriendellagaspera adriendellagaspera commented Nov 1, 2023

The goal of this PR is to prepare for the introduction of range comparison for partial orders: PartialRangeOrd.

Hence this PR introduces the following major changes:

  • The RangeComparable trait is renamed RangeOrd to align with the standard lib's naming convention and ensure consistent and simple naming.
  • Its exposed method, range_cmp, is renamed rcmp to lay grounds for the upcoming partial range comparison case.

Description of commits:

  1. Upgrade version to 0.2.0
  2. Rename range_cmp -> rcmp
  3. Rename RangeComparable -> RangeOrd

@adriendellagaspera adriendellagaspera linked an issue Nov 3, 2023 that may be closed by this pull request
@adriendellagaspera adriendellagaspera changed the title [Major] Introduce Range comparison for PartialOrd [Major] Rename range_cmp -> rcmp Nov 8, 2023
@adriendellagaspera adriendellagaspera marked this pull request as ready for review November 8, 2023 09:08
@adriendellagaspera adriendellagaspera merged commit f5e868a into master Nov 8, 2023
1 check passed
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.

Support values that are only PartialOrd
1 participant