arrow-core / arrow.core.extensions.either.applicative
fun <L, A> A.~~just~~(): Either<L, A>
fun <L> ~~unit~~(): Either<L,
Unit
>
Do you like Arrow?