<Type parameter, generic> Hello, is it possible to...
# forum
r
Type parameter, generic Hello, is it possible to suppress the type parameter, when you pass it as an type argument to the function? The first type parameter is inferred automatically, why i need to pass it with the other type parameter? **inline fun Pair.ex(lambda: Exception.() -> R): Triple { val s = this.second return if (s != null && s is E) { Triple(s.lambda(), s, true) }else Triple(this.first, this.second, false) } on apply: .ex { "" }** 1 post - 1 participant <a...