"Structural pattern matching" for Python, part 2
"Structural pattern matching" for Python, part 2
Posted Sep 2, 2020 6:01 UTC (Wed) by NYKevin (subscriber, #129325)In reply to: "Structural pattern matching" for Python, part 2 by atnot
Parent article: "Structural pattern matching" for Python, part 2
> most notably tagged unions or as rust calls them enums.
Perhaps the phrase "tagged unions" means something different to people who write Rust, but to my mind, PyObject* is a tagged union (and thus, so is every Python object). Am I misinterpreting you?
The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:
Note: you can avoid this step in the future by logging into your LWN account.
