Replies: 2 comments 4 replies
-
Some words for collections: There should be more contract fulfilled with code about known members ( Such contracts may not be expressible in C# type system now (Interface vs HKT Concepts, pure methods), but we should keep these in mind and find ways to express them in the future. |
Beta Was this translation helpful? Give feedback.
-
Similar to how async/await rely on Task(like)s, I feel like collection literals should be backed by some new CLR "collection builder" type that works in tandem with the compiler. Today, I already do some thing similar to this by using List and an Add extension method that accepts enumerables. I don't gain all the benefits that the compiler could leverage, but it is quite handy! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
https://github.com/dotnet/csharplang/blob/main/meetings/2023/LDM-2023-04-03.md
Agenda
Beta Was this translation helpful? Give feedback.
All reactions