よぶとき
これであってるのかわからん
[code lang=text] scala> tasu("touwa","erio") res2: String = touwaerio
scala> val eeeeeerio = ("touwa","erio") eeeeeerio: (String, String) = (touwa,erio)
scala> tasu(eeeeeerio) <console>:15: error: not enough arguments for method tasu: (a: String, b: String)String. Unspecified value parameter b. tasu(eeeeeerio) ^
scala> val (myouzi,namae) = eeeeeerio myouzi: String = touwa namae: String = erio
scala> tasu(myouzi,namae) res3: String = touwaerio [/code]
何かを知った
[code lang=text] scala> val denpa = ("touwa","erio") denpa: (String, String) = (touwa,erio)
scala> def tasu(s: String, ss: String) = s + ss tasu: (s: String, ss: String)String
scala> tasu _ tupled(denpa) res0: String = touwaerio [/code]