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

[Proposal]: Collection expressions #8652

Open
CyrusNajmabadi opened this issue Nov 19, 2024 · 0 comments
Open

[Proposal]: Collection expressions #8652

CyrusNajmabadi opened this issue Nov 19, 2024 · 0 comments
Assignees
Milestone

Comments

@CyrusNajmabadi
Copy link
Member

Collection expressions

Summary

Collection expressions introduce a new terse syntax, [e1, e2, e3, etc], to create common collection values. Inlining other collections into these values is possible using a spread operator .. like so: [e1, ..c2, e2, ..c2].

Design meetings

main/meetings/2021/LDM-2021-11-01.md#collection-literals
main/meetings/2022/LDM-2022-03-09.md#ambiguity-of--in-collection-expressions
main/meetings/2022/LDM-2022-09-28.md#collection-literals
main/meetings/2023/LDM-2023-04-03.md#collection-literals
main/meetings/2023/LDM-2023-04-26.md#collection-literals
main/meetings/2023/LDM-2023-05-03.md#collection-literal-natural-type
main/meetings/2023/LDM-2023-05-31.md#collection-literals
main/meetings/2023/LDM-2023-06-05.md#collection-literals
main/meetings/2023/LDM-2023-06-19.md#collection-literals
main/meetings/2023/LDM-2023-07-12.md#collection-literals
main/meetings/2023/LDM-2023-09-18.md#collection-expression-questions
main/meetings/2023/LDM-2023-09-20.md#collection-expressions
main/meetings/2023/LDM-2023-09-25.md#defining-well-defined-behavior-for-collection-expression-types
main/meetings/2023/LDM-2023-09-27.md#collection-expressions
main/meetings/2023/LDM-2023-10-02.md#collection-expressions
main/meetings/2023/LDM-2023-10-11.md#collection-expressions
main/meetings/2023/LDM-2023-11-15.md#nullability-analysis-of-collection-expressions
main/meetings/2024/LDM-2024-01-10.md
main/meetings/2024/LDM-2024-02-26.md#collection-expressions

Working group meetings

main/meetings/working-groups/collection-literals/CL-2022-10-06.md
main/meetings/working-groups/collection-literals/CL-2022-10-14.md
main/meetings/working-groups/collection-literals/CL-2022-10-21.md
main/meetings/working-groups/collection-literals/CL-2023-04-05.md
main/meetings/working-groups/collection-literals/CL-2023-04-28.md
main/meetings/working-groups/collection-literals/CL-2023-05-26.md
main/meetings/working-groups/collection-literals/CL-2023-06-12.md
main/meetings/working-groups/collection-literals/CL-2023-06-26.md
main/meetings/working-groups/collection-literals/CL-2023-08-03.md
main/meetings/working-groups/collection-literals/CL-2023-08-10.md

@CyrusNajmabadi CyrusNajmabadi self-assigned this Nov 19, 2024
@CyrusNajmabadi CyrusNajmabadi added this to the 12.0 milestone Nov 19, 2024
@dotnet dotnet locked and limited conversation to collaborators Nov 19, 2024
@jnm2 jnm2 self-assigned this Nov 23, 2024
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

3 participants