arrow-optics / arrow.optics / PLens / codiagonal
fun <S> codiagonal(): Lens<Either<S, S>, S>
fun <S> codiagonal():
Lens
<Either<S, S>, S>
PLens that takes either S or S and strips the choice of S.
Do you like Arrow?