摘要: http://docs.scala-lang.org/tour/lower-type-bounds.html中有一段代码 文中说这段代码不会通过编译,因为Function1是contravariant 在参数的位置上。看到这里是一个头很多个大的。 However, this program does 阅读全文
posted @ 2017-10-15 23:49 哇哩顾得 阅读(540) 评论(0) 推荐(0) 编辑