modifyAt

fun <T> List<T>.modifyAt(idx: Int, modifier: (T) -> T): List<T>