Hi :wave: . What is the proper way to get a list o...
# arrow
s
Hi 👋 . What is the proper way to get a list of errors
List<Error>
out of
List<Either<Error, Result>>
?
👍 1
s
Hey @Srki Rakic, There is an extension function on
Iterable
for that
separateEither
. https://arrow-kt.io/docs/apidocs/arrow-core/arrow.core/kotlin.collections.-iterable/separate-either.html
s
Sweeet. Thank you 🙏
👍 2