foldToEitherWhileRight
inline fun <T, L, R> Iterable<T>.foldToEitherWhileRight(initialValue: R, fn: (item: T, accumulated: R) -> Either<L, R>): Either<L, R>
Folds a list into an Either while it doesn't go Left. Allows for accumulation of value through iterations.
Return
the final accumulated value if there are NO Left results, or the first Left result otherwise.