test

随笔分类 -  Scala

摘要:Scala中的 apply 方法有着不同的含义, 对于函数来说该方法意味着调用function本身, 以下说明摘自Programming in Scala, 3rd Edition Every function value is an instance of some class that exte 阅读全文
posted @ 2016-10-10 18:05 Ayning 阅读(23660) 评论(0) 推荐(1)
摘要:隐士转换是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隐 阅读全文
posted @ 2016-08-10 12:38 Ayning 阅读(341) 评论(0) 推荐(0)