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

Support SignedInteger where RawValue: SignedInteger #69

Open
benjohnbarnes opened this issue Jun 13, 2023 · 0 comments
Open

Support SignedInteger where RawValue: SignedInteger #69

benjohnbarnes opened this issue Jun 13, 2023 · 0 comments

Comments

@benjohnbarnes
Copy link

In a current project I am using Tagged as the Interval of a type Note conforming to Strideable. This works great as far as it goes. However, I have a ClosedRange<Note> on which I would like to be able to compute count. This requires Tagged conform to SignedInteger where RawValue: SignedInteger.

Tagged has a number of conditional conformances and does conditionally support Numeric and SignedNumeric, there currently is not support for SignedInteger as far as I can tell. I'm curious if this was intentionally left out, or if it would be reasonable to add?

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

No branches or pull requests

1 participant