pub fn either<A, B, I: Clone>(
    fst: impl Parser<A, I>,
    snd: impl Parser<B, I>
) -> impl Parser<Either<A, B>, I>
Expand description

Same as either, but allows for different output types for the parsers.