scala> val kala = (x: Int, y: Int) => x + y
kala: (Int, Int) => Int = <function2>
scala> kala(1,3)
res71: Int = 4
scala> val kala2 = (x: Int, y: Int) => x + y
kala2: (Int, Int) => Int = <function2>
scala> val kala3 = (x: Int, y: Int) => kala(x,y)+kala2(y,x)
kala3: (Int, Int) => Int = <function2>
scala> kala3(1,2)
res75: Int = 6