andThen<CIn, COut> method

Lens<AIn, AOut, CIn, COut> andThen<CIn, COut>(
  1. Lens<BOut, BIn, CIn, COut> otherLens
)

Implementation

Lens<AIn, AOut, CIn, COut> andThen<CIn, COut>(Lens<BOut, BIn, CIn, COut> otherLens) => new Lens((a) => otherLens.get(get(a)), (a, c) => set(a, otherLens.set(get(a), c)));