随笔分类 - Scala
摘要:Scala中的 apply 方法有着不同的含义, 对于函数来说该方法意味着调用function本身, 以下说明摘自Programming in Scala, 3rd Edition Every function value is an instance of some class that exte
阅读全文
摘要:隐士转换是Scala提供的一种语法糖 Implicit definitions are those that the compiler is allowed to insert into a program in order to fix any of its type errors. Sacla隐
阅读全文

浙公网安备 33010602011771号