data class A(val label: String) { fun plus(list: List) :List { val newList = list.toMutableList() newList.add(0, this) return newList } } val myList : List = A("Element one") + listOf(A("Element two"), A("Element three"))