lift<A, B> method
Perform the operation fn
with the value in a
and wrap with
Applicative<B> for pipelining.
Implementation
@override
Either<Exception, B> lift<A, B>(
Either<Exception, B Function(A)> fn, Either<Exception, A> a) =>
fn.bind<B>((fn) => a.fmap((a) => fn(a)));