Skip to main content

sequence_either

Function sequence_either 

Source
pub fn sequence_either<A: Clone, E: Clone, I: IntoIterator<Item = OxiEither<A, E>>>(
    items: I,
) -> OxiEither<Vec<A>, E>
Expand description

Sequence a list of OxiEither values, stopping at the first Right.