Hello everyone –
The review of SE-0510: Dictionary mapValuesWithKeys ended on February 17, 2026. Feedback was light and generally quite positive.
One commenter pointed out that because the arguments to the closure body are (Key, Value), the name mapKeyedValues may be more clear at the use site. The LSG agrees with this, and has decided to accept this alternative name.
Another commenter requested that a compactMap form of this operation be considered. This does not confer the same performance benefits as the non-compact variant, but we feel that it is still a beneficial API and should be included.
Our decision is that the proposal should be accepted with those modifications. Thanks to everyone for your participation in the review.
– Steve Canon