andThenE<C, E> method

EitherLens<A, C, E> andThenE<C, E>(
  1. EitherLens<B, C, E> otherLens
)

Implementation

EitherLens<A, C, E> andThenE<C, E>(EitherLens<B, C, E> otherLens) => new EitherLens((a) => otherLens.get(get(a)), (a, c) => otherLens.set(get(a), c).map((b) => set(a, b)));