-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
[SR-3196] Implement SE-0104: Protocol-oriented integers #45784
Comments
Implementation work so far is at #3796 |
The majority of work has been done and the PR merged. The few missing pieces are:
|
Is this done now? |
Comment by Raphael (JIRA) From the SE: > Deprecation of the BitwiseOperations protocol. We find it hard to imagine a type that conforms to this protocol, but is not a binary integer type. Has this been implemented? What about |
Yes, it has. What about |
Comment by Raphael (JIRA) The quoted piece suggests that bitwise operations only ever make sense for integers. I immediately thought of |
Ah... The phrasing... I don't disagree it is possible to find useful types that can conform to |
Comment by Raphael (JIRA) Say I want to implement sets using bit vectors. A natural implementation would use a type conforming to That said, one could of course base a |
SE-0104 Revision 4 was implemented by: |
Additional Detail from JIRA
md5: 1858174fa1c4380083b951e198df12f7
Issue Description:
SE-0104 needs implementation:
https://github.com/apple/swift-evolution/blob/master/proposals/0104-improved-integers.md
The text was updated successfully, but these errors were encountered: