It is indeed weird that map
deliberately does not support pairs
. Last year I asked a question about this in a slightly different context of NamedTuple
s: Map over namedtuple keys and values: confusing error.
It is indeed weird that map
deliberately does not support pairs
. Last year I asked a question about this in a slightly different context of NamedTuple
s: Map over namedtuple keys and values: confusing error.