And possibly vec_if_else() because it would be nice for, say, ggplot2 to be able to use this.
Consider if we can figure out some kind of 1:1 interface that doesn't always require a list for values and haystacks to nicely replace plyr::mapvalues() tidyverse/dplyr#7027 (the list approach is very powerful and general because it allows for 1:m and m:1 replacements, but is not always needed)