roll

fun <T> roll(elements: Collection<T>, distribution: (Int) -> List<Double>): T(source)