![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
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 · 2643 阅读 · 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 · 301 阅读 · 0 评论