Scala 3, Programming Scala.
types. Consider the ++ method on sequences: import java.io.File val dir = new File(".") // val dir: java.io.File = . // Another example, where the `++` method expects a function argument: val paths1 = Seq(dir) `++` { dir.listFiles } // val paths1: Seq[java.io.File] = List(.,