![](https://secure.gravatar.com/avatar/56a11b321bb96000038325b0244d8b0e.jpg?s=120&d=mm&r=g)
4 Oct
2022
4 Oct
'22
10:42 a.m.
Has someone considered the following intuitive syntax using 'for ... in ...' instead of the Map operator? In my opinion, it's a bit more verbose, but also much more intuitive as well as powerful at the same time. Ts = TypeVarTuple('Ts') def pair_with_ids(*args: *Ts) -> tuple[tuple[int, T] for T in Ts]: ...