scala> def power(y:Double)=(x:Double)=>Math.pow(x,y)warning: there were 1 deprecation warnings; re-run with -deprecation for detailspower: (y:.....
scala> def power(y:Double)=(x:Double)=>Math.pow(x,y)warning: there were 1 deprecation warnings; re-run with -deprecation for detailspower: (y: Double)Double => Doublescala> ......