andThenS<C> method

SimpleLens<A, C> andThenS<C>(
  1. Lens<B, B, C, C> otherLens
)

Implementation

SimpleLens<A, C> andThenS<C>(Lens<B, B, C, C> otherLens) => new SimpleLens((a) => otherLens.get(get(a)), (a, c) => set(a, otherLens.set(get(a), c)));