News for hackers. Stuff that matters.
Re:PEP 622 – Structural Pattern Matching by kunfuu on Wednesday June 24, 2020 @10:47PM (#23636363)
I would prefer something like:

    match node:
        on (time _ 1 @ 0, foo _ 2, bar _ 3, baz _ any, status _ 1 @ -1):
            do_something()
            rematch do_something_2(foo)
'_' indicating span, and '@' indicating position of the first item. Both can be omitted.

There are no comments on this comment yet.