Skip to content
This repository has been archived by the owner on May 19, 2018. It is now read-only.

Conform to SetAlgebraType for Swift 2 #56

Open
robrix opened this issue Jun 9, 2015 · 2 comments
Open

Conform to SetAlgebraType for Swift 2 #56

robrix opened this issue Jun 9, 2015 · 2 comments

Comments

@robrix
Copy link
Owner

robrix commented Jun 9, 2015

SetAlgebraType is new in Swift 2 and has default implementations.

@natecook1000
Copy link
Contributor

This would be API-breaking, since several of the methods have different names in SetAlgebraType than MultiSet: subtract instead of difference, all the inclusion tests, perhaps more. Any problem going ahead with that?

@robrix
Copy link
Owner Author

robrix commented Oct 5, 2015

There might be cases where we’d want to retain the old names, but I doubt it.

I think we can leave the old names in but use the unavailable attribute to indicate their replacements. (It’d be even cooler if we could use that to suggest Fix-its for Xcode’s ingestion, but I doubt that would work.)

Anyway, no problem at all; in fact, I greatly appreciate your initiative!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants