kotlin-utils / com.github.mckernant1.collections / kotlin.collections.Iterable / cartesianProduct

cartesianProduct

fun <T, R> Iterable<T>.cartesianProduct(other: Iterable<R>): List<Pair<T, R>>