//when expressions where it separates "matching/condition" part from "result/execution" block val greet = when(args[0]) { "Apple", "Orange" -> "fruit" is Number -> "How many?" else -> "hi!" }