lensOToE<A, B, E> function
Implementation
EitherLens<A, B, E> lensOToE<A, B, E>(OptionLens<A, B> aLens, E eF()) => lensE((a) => aLens.get(a).toEither(eF), (a, b) => aLens.set(a, b).toEither(eF));
EitherLens<A, B, E> lensOToE<A, B, E>(OptionLens<A, B> aLens, E eF()) => lensE((a) => aLens.get(a).toEither(eF), (a, b) => aLens.set(a, b).toEither(eF));