Why do functions like `public inline fun <T>...
# language-proposals
t
Why do functions like
public inline fun <T> List<T>.indexOfFirst(predicate: (T) -> Boolean): Int
return
-1
when the predicate does not match. I think it would make much more sense returning
Int?