beginner question : how to define a lower bound on...
# getting-started
a
beginner question : how to define a lower bound on a function ? (stupid) example :
Copy code
class Optional<T>(private val value: T?) {
    fun <X> or(other: X): X where T:X = value ?: other
}
T:X is not legit