fun streamlinedFun2(x: Double, y: Double) = x / y // : Double(返す型)を、省略している/型推量できる。 // Double / Double は、Double になる ことはルールで決まっている。 //(Int / Int は、答がおかしくなっても、Int しか返さない、、「1/3 は 0」 になる) fun main() { println(streamlinedFun2(10.0, 3.0)) }