Ai-N3rd
Ai-N3rd
Please fix this. I want to try to mess around with Pkl but only own a windows machine.
I would like to add my take on the IEqualtiyComparer argument: ```csharp var dict = (new SomeEqualityComparer()) [ // Whatever syntax we decide on here ["Cyrus"] = 21, ["Dustin"] =...
Just clarifying, which of these would we allow in pattern matching: ```csharp [ // Type validation and accessing by value [string name] = 21, // Discarding [var _] = 22,...
@TahirAhmadov > Collection expressions (including dictionary expressions) are meant to come up with a standardized new syntax for all (most) collections, not try to continue older approaches. This syntax is...
@TahirAhmadov What makes it worse? If you have autocomplete, it's 1 extra character you have to type, 2 without. It's not the end of the world. It also conveys how...
That being said, you make a good point about explicit overwrite sementics. As for spreads, perhaps we could do something like this: ```csharp [ // Overwrite [..someDict], // Overwrite ["Cyrus"]...
This is something we need to take our time with. Let me share my opinions: Make ```field``` and ```value``` contextual keywords. ```@_```, ```@field```, and ```@value``` should be useable as identifiers....
This should not be supported unless we can find a reasonable use case. Otherwise, It shouldn't be supported for collection expressions.
There should probably be a check at compile time. It would simply check if the .Add() method has the same type as the IEnumerable. If not, it can't be used...