scala学习笔记:高阶函数-CSDN博客

网站介绍: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> ...