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

Extensions for kotlin.collections.Iterable

cartesianProduct

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

equals

fun <T> Iterable<T>?.equals(other: Iterable<T>?, preserveOrder: Boolean = true): Boolean

mapParallel

fun <T, R> Iterable<T>.mapParallel(transform: suspend (T) -> R): List<R>