fun isDigit(a: Char) = when(a) { in '0'..'9' -> "digit" else -> "something" }