mg6maciej
04/23/2017, 10:20 PMArray<T>
?ilya.gorbunov
04/23/2017, 11:31 PMplus
for arrays is right here https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/plus.htmlilya.gorbunov
04/23/2017, 11:32 PMArray.minus
because it's required to know in advance the size of the result array to allocate.mg6maciej
04/24/2017, 12:16 AMArray
is invariant. Was trying to plus Array<SubClass> + List<SuperClass>.mg6maciej
04/24/2017, 12:17 AM.toList()
solves all the problems...benleggiero
04/24/2017, 12:18 AMSet
might be better-suitedmg6maciej
04/24/2017, 12:29 AMlist - element != list - listOf(element)
😉voddan
04/24/2017, 6:36 AM