standinga
07/30/2019, 4:04 PMwhen (i) {
in 0..10 -> //
in 10..20 -> //
}
Casey Brooks
07/30/2019, 4:05 PMi
into the condition statements
when {
i in 0..10 -> //
i in 10..20 -> //
}
standinga
07/30/2019, 4:06 PMAleksei Otts
07/30/2019, 4:07 PMelse ->
blockstandinga
07/30/2019, 4:07 PMAleksei Otts
07/30/2019, 4:07 PMCasey Brooks
07/30/2019, 4:09 PMwhen
to a variable as an expression, do the branches need to be exhaustive. If it’s just a bare when
statement, it doesn’t need to be exhaustivestandinga
07/30/2019, 4:10 PMmathew murphy
07/30/2019, 4:33 PMfangzhzh
07/31/2019, 7:32 PM