I'm not sure where `?:` is implemented, but if its...
# language-proposals
g
I'm not sure where
?:
is implemented, but if its some kind of re-written function I guess what i'm asking for is an overload:
Copy code
infix operator fun <T> T.elvis(alternative: T)
infix operator fun <T> T.elvis(alternativeProvider: () -> T)
which, actually thinking about it, the right side of an elvis is lazy anyways, so I guess i'm just looking to expose that lazyness to the programmer by lambda semantics