scala list append to end
Append to end of list
List(1,2,3) :+ 4
Results in List[Int] = List(1, 2, 3, 4)
Are there any code examples left?
New code examples in category Other
Append to end of list
List(1,2,3) :+ 4
Results in List[Int] = List(1, 2, 3, 4)