- ScalaMatsuri 2017
- JDK 8+ (if you'd like to use the latest Scala)
brew install sbt
to install the global sbt launcher script
object Main extends App { | |
def myif(p: => Boolean)(thenS: => Any)(elseS: => Any): Any = { | |
var res: Any = null | |
val result = p && { res = thenS; true} || { res = elseS; false} | |
res | |
} | |
def myelse(elseS: => Any): Any = { | |
elseS | |
} |
import {Observable, Subject} from 'rxjs' | |
// # 材料 | |
// ## ご飯 | |
class ご飯 { | |
freeze() { | |
this.温度 = -10 | |
return this | |
} |
日時: | 2016-01-23 |
---|---|
作: | @voluntas |
バージョン: | 0.1.2 |
url: | https://voluntas.github.io/ |
2015/07/24 関数型Scalaの集い