The same result could be achieved with a function ...
# announcements
t
The same result could be achieved with a function `fun <X> List<X>.combine(other: List<X>)`:
(aList as List<X>).combine(bList)
. But you have to tell the compiler that
aList
is also a
List<X>
manually, which is quite annoying