sjthn
04/16/2019, 8:53 AMribesg
04/16/2019, 9:00 AMaddAll
which takes an index as first parametersjthn
04/16/2019, 9:02 AMsjthn
04/16/2019, 9:03 AMribesg
04/16/2019, 9:03 AMribesg
04/16/2019, 9:04 AMsrc.take(index) + elements + src.last(src.size - index)
(this creates a useless intermediate list)ribesg
04/16/2019, 9:04 AMsjthn
04/16/2019, 9:07 AM