引数の数間違えたと思ったらタプルになってた

  • 2
    Like
  • 2
    Comment
More than 1 year has passed since last update.
scala> def f[A](x: A) = x
f: [A](x: A)A

scala> f(1, 2)
res1: (Int, Int) = (1,2)

( ゚д゚)

(つд⊂)ゴシゴシ

(;゚д゚)