AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
Is Pattern Matching Making Its Way Through TC 39?
I looked at the syntax and it didn't make a whole lot of sense on like it did in one specific use case, but I'm not sure that I'm understanding it correctly. It says that this is like there's prior art in like rust and essentially rust and like Scala, Scala has extractor objects. Are other of you familiar with extractors? Well, Nick's extractors would augment the syntax of binding pattern and assignment pattern to allow for new destructuring forms as in the following examples. And some of that might even be like the I'm looking right now at what it's what the rust example is. Like being able to match for more complicated structures than just like a very