Hacker News new | ask | show | jobs
by ilyash 1027 days ago
Thoughts:

Closest implemented thing that I know of that implements the solution to the stated problem: Raku's Capture - https://docs.raku.org/type/Capture

Maybe Python can go in that direction.

Subjectively, it doesn't feel right to mix positional and named containers in Python.