<@U2W6BJ91R> commented on <@U0B8UEMV1>’s file <htt...
# language-proposals
u
@okkero commented on @pakoito’s file https://kotlinlang.slack.com/files/U0B8UEMV1/F4CF6QM2A/-.txt: Are the type parameters for
Either
covariant? If that's the case then you could do this:
Copy code
fun <T> T.left(): Either<T, Nothing> {
    return Either.Left(this)
}