ivectorLensE<A, E> function

EitherLens<IVector<A>, A, E> ivectorLensE<A, E>(
  1. int i,
  2. E eF()
)

Implementation

EitherLens<IVector<A>, A, E> ivectorLensE<A, E>(int i, E eF()) => lensE((v) => v[i].toEither(eF), (v, a) => v.set(i, a).toEither(eF));