Hacker News new | ask | show | jobs
by kunfuu 2186 days ago
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.