Skip to content

Added spelled-out aliases for abbreviated predicate cases. #66

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

Merged
merged 5 commits into from
Feb 13, 2017

Conversation

harlanhaskins
Copy link
Member

No description provided.

Copy link
Member

@CodaFi CodaFi left a comment

Choose a reason for hiding this comment

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

I think these should be the real cases and the aliases should be reversed to migrate users to the new spelled-out cases.

static let orderedLessThanOrEqual = ole
/// Ordered and not equal.
static let orderedNotEqual = one
/// Oredered (no nans).
Copy link
Member

Choose a reason for hiding this comment

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

Can you fix this and the corresponding one in RealPredicate?

@harlanhaskins
Copy link
Member Author

I've been waffling back and forth, but I agree with you. Should we bother with deprecation warnings or just rip the band-aid off and make an @channel on the Slack?

@CodaFi
Copy link
Member

CodaFi commented Feb 13, 2017

I think a single point-release containing a set of migration aliases will be fine. I doubt anybody is using fcmp heavily enough at this point that it will be a problem.

/// Ordered and not equal.
case one
case orderedNotEqual
/// Oredered (no nans).
Copy link
Member

Choose a reason for hiding this comment

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

Documentation flub still exists.

@harlanhaskins
Copy link
Member Author

Will merge once CI passes

@harlanhaskins
Copy link
Member Author

🚢 🇮🇹

@harlanhaskins harlanhaskins merged commit f5c0e5f into master Feb 13, 2017
harlanhaskins added a commit that referenced this pull request Feb 19, 2017
* Added spelled-out aliases for abbreviated predicate cases.

* Added deprecations with fixits for renaming to the expanded cases.

* Updated tests to fix deprecation warnings.

* Fixed documentation flub.

* Fixed documentation flub.
@dduan dduan deleted the simple-english-wikipedia branch February 1, 2020 01:59
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.

2 participants