dvd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
inline fun <T> List<List<T>>.roundRobinnedForEach(action: (List<T>) -> Unit) { | |
NestedElementCollector(this).collect().forEach(action) | |
} | |
inline fun <T> List<T>.timesOf(action: (T) -> Int): Int { | |
var result = 1 | |
for (element in this) { | |
result *= action(element) | |
} | |
return result |
I hereby claim:
- I am turtton on github.
- I am turtton (https://keybase.io/turtton) on keybase.
- I have a public key whose fingerprint is E271 D44F 0506 7343 9B52 E4A4 8152 FC5D 0B5A 76E1
To claim this, I am signing this object: