[PublicAPI] public static Either <L, R2> SelectMany <L, R, R1, R2>( this Either <L, R> opt, Fn <R, Either <L, R1> > f, Fn <R, R1, R2> g ) => opt.flatMapRight(f, g);
public static Either <A, B> flatten <A, B>(this Either <A, Either <A, B> > e) => e.flatMapRight(_ => _);
[PublicAPI] public static Either <L, R1> SelectMany <L, R, R1>(this Either <L, R> e, Fn <R, Either <L, R1> > f) => e.flatMapRight(f);
public static Either <A, B> flatten <A, B>(this Either <A, Either <A, B> > e) { return(e.flatMapRight(_ => _)); }