【发布时间】:2016-10-19 14:31:56
【问题描述】:
我是 Scala 新手。请说出两者的区别
def fun( t: Int => Int):Unit = {
和
def fun(t: =>Int):Unit {
和
def fun(t:=>Int):Unit { (without space b/w ":" and "=>"))
【问题讨论】:
标签: scala function literals function-literal