removed unnecessary brackets

This commit is contained in:
s-webber 2016-03-19 10:06:54 +00:00
parent 1bec0f6089
commit f8f644d891

View File

@ -133,7 +133,7 @@ fun helloWorld(val name : String) {
The name of the single parameter will be "it". The name of the single parameter will be "it".
*/ */
val notPositive = not {it > 0} val notPositive = not {it > 0}
for (i in (0..4)) { for (i in 0..4) {
println("${notOdd(i)} ${notEven(i)} ${notZero(i)} ${notPositive(i)}") println("${notOdd(i)} ${notEven(i)} ${notZero(i)} ${notPositive(i)}")
} }