Hullaballoonatic
fun <T: Any> Array<T>.mapInRange(range: IntRange, transform: (Int) -> T) { for (i in range) { this[i] = transform(i) } }