bitraverse Validated
inline fun <AA, C, D> bitraverseValidated(fe: (A) -> Validated<AA, C>, fa: (B) -> Validated<AA, D>): Validated<AA, Either<C, D>>
Deprecated
This API is niche and will be removed in the future. If this method is crucial for you, please let us know on the Arrow Github. Thanks! https://github.com/arrow-kt/arrow/issues Prefer explicit fold instead
Replace with
fold({ fe(it).map { Left(it) } }, { fa(it).map { Right(it) } })Content copied to clipboard