permutations

inline fun <V> permutations(values: List<V>): List<List<V>>(source)