groostav
07/12/2016, 9:10 PM?:
is implemented, but if its some kind of re-written function I guess what i'm asking for is an overload:
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