Is there a bestiary of examples for the current pattern matching proposal(s)?
It seems I don't have a good handle on how one matches simple tests like callability, function signatures, possession of
specific attribute(s).etc.
Also will matching ever extend into the Typing universe?
--
Rob
Hi folks,
This is a mailing list repost of the Discourse thread at
https://discuss.python.org/t/pep-642-constraint-pattern-syntax-for-structural-pattern-matching/5614
The rendered version of the PEP can be found here:
https://www.python.org/dev/peps/pep-0642/
The full text is also quoted in the