arrow-optics / arrow.optics / PLens / codiagonal

codiagonal

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?

Arrow Org
<