flatten

fun <K, V> Iterable<Map<K, V>>.flatten(): Map<K, V>
fun <T, E> Result<Result<T, E>, E>.flatten(): Result<T, E>