Scala
boy13860
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
给Vim配置Scala语法高亮显示
转载自:http://www.udpwork.com/item/14087.html 第一步,执行下面这个脚本: mkdir -p ~/.vim/{ftdetect,indent,syntax} && for d in ftdetect indent syntax ; do curl -o ~/.vim/$d/scala.vim https://raw.githubuserconten转载 2017-03-17 10:43:19 · 2725 阅读 · 1 评论 -
Scala学习过程1: 编译程序
书目:scala编程 Rational.scala class Rational(n:Int,d:Int){ require(d!=0) private val g = gcd(n.abs,d.abs) val numer: Int = n/g val denom: Int = d/g def this(n: Int) = this(n,1) overrid原创 2017-03-17 13:12:29 · 348 阅读 · 0 评论
分享