"Structural pattern matching" for Python, part 1
"Structural pattern matching" for Python, part 1
Posted Aug 6, 2020 6:22 UTC (Thu) by stephenjudd (guest, #3227)Parent article: "Structural pattern matching" for Python, part 1
Yay, this is bringing something genuinely useful from the ML family of languages into the Python world, analogous to bringing Haskell's list comprehensions over. It's just a question of finding a syntax that feels right.
