Scala
文章平均质量分 75
wenjie147
这个作者很懒,什么都没留下…
展开
-
Coursera---Scala课程 第二周笔记
Higher-Order Functions 这被称为“高阶函数”,既可以当参数传,也可以当返回值。 最早的形式 def sum(f: Int => Int, a: Int, b: Int): Int = if (a > b) 0 else f(a) + sum(f, a + 1, b) def sumInts(a: Int, b:原创 2014-05-13 13:05:13 · 580 阅读 · 0 评论 -
sbt安装
Linux Download sbt from here: http://scalasbt.artifactoryonline.com/scalasbt/sbt-native-packages/org/scala-sbt/sbt/0.12.4/sbt.tgzUnpack the archive to a directory of your choiceAdd the bin/ directo转载 2014-04-29 10:37:24 · 706 阅读 · 0 评论