mg6maciej
04/29/2017, 2:43 PMfun <T> List<T>.minusIndex(index: Int) = subList(0, index) + subList(index + 1, size)
fun <T> List<T>.splitAt(index: Int) = Pair(subList(0, index), subList(index, size))
but I'd rather not change index
to i
or something...