Re:Pattern matching accepted for Python
by bjoli on Wednesday February 10, 2021 @12:45PM
(#26092367)
Well, of course. It is a pattern matcher. case NOT_FOUND: is a pattern that matches anything and binds it to NOT_FOUND. If you want to match the content of a variable you need to signal that in some way. In scheme that usually means unquote:
[ Parent
| on HN ]
There are no comments on this comment yet.