imapLensE<K, V, E> function

EitherLens<IMap<K, V>, V, E> imapLensE<K, V, E>(
  1. K k,
  2. E eF()
)

Implementation

EitherLens<IMap<K, V>, V, E> imapLensE<K, V, E>(K k, E eF()) => lensE((m) => m[k].toEither(eF), (m, v) => m.set(k, v).toEither(eF));