Where is factory method for class List in scala 2.13?

后端 未结 0 729
无人共我
无人共我 2021-01-12 06:23

How is it possible creating a list without "new" keyword in Scala 2.13?

val list = List(1,2,3)

When looking at Scala\'s source code I no

相关标签:
回答
  • 消灭零回复
提交回复
热议问题