Question : scala concatenate list
Answered by : plif-plouf
scala> val c = a ++ b
c: List[Int] = List(1, 2, 3, 4, 5, 6)
Source : https://alvinalexander.com/scala/how-to-merge-concatenate-lists-in-scala-cookbook/ | Last Update : Mon, 04 Apr 22
Question : scala concatenate list
Answered by : plif-plouf
scala> val c = a ::: b
c: List[Int] = List(1, 2, 3, 4, 5, 6)
Source : https://alvinalexander.com/scala/how-to-merge-concatenate-lists-in-scala-cookbook/ | Last Update : Mon, 04 Apr 22
Question : scala merge list of strings
Answered by : z0san
scala> List("a","b","c").mkString
val res1: String = abc
Source : https://www.baeldung.com/scala/join-string-collection | Last Update : Sun, 10 Apr 22