3 ms·
In that respect it's more about ML/SML from the 1970-80s. Even putting null-safety aside, the latter part of the post with destructuring tuples and pattern-mat
by frou_dh 4y ago
In that respect it's more about ML/SML from the 1970-80s.
Even putting null-safety aside, the latter part of the post with destructuring tuples and pattern-matching shapes looks almost 1:1 like SML code!
- munificent 4y agoI'm the main designer of the patterns stuff we're working on in Dart. Yes, SML is absolutely one of the primary inspirations. The design also takes a lot of inspiration to how Swift and C# approach pattern matching and destructuring. There are so many good languages out there to learn from.