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

Indices and ranges: supported sequence types #14449

Closed
pkulikov opened this issue Sep 15, 2019 — with docs.microsoft.com · 2 comments · Fixed by #14506
Closed

Indices and ranges: supported sequence types #14449

pkulikov opened this issue Sep 15, 2019 — with docs.microsoft.com · 2 comments · Fixed by #14506
Assignees

Comments

Copy link
Contributor

pkulikov commented Sep 15, 2019

Not only the mentioned array and Span types support indices and ranges.

https://github.com/dotnet/csharplang/blob/master/proposals/csharp-8.0/index-range-changes.md (which is about to be merged into https://github.com/dotnet/csharplang/blob/master/proposals/csharp-8.0/ranges.md) introduces the notion of countable types. That way, the support of indices and ranges might be pattern-based.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@BillWagner
Copy link
Member

Thanks for writing this up @pkulikov

Do you want me to assign this to you?

@pkulikov
Copy link
Contributor Author

pkulikov commented Sep 17, 2019

Do you want me to assign this to you?

@BillWagner yes, please. I'll address this issue after #14451 is merged

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

Successfully merging a pull request may close this issue.

3 participants