arrow-optics / arrow.optics / PIso / validatedToPEither
@JvmStatic fun <A1, A2, B1, B2> validatedToPEither(): PIso<Validated<A1, B1>, Validated<A2, B2>, Either<A1, B1>, Either<A2, B2>>
@JvmStatic fun <A1, A2, B1, B2> validatedToPEither():
PIso
<Validated<A1, B1>, Validated<A2, B2>, Either<A1, B1>, Either<A2, B2>>
PIso that defines equality between Validated and Either
Do you like Arrow?