This looks like a `mapcat`.