lift<A, B> method

  1. @override
Either<Exception, B> lift<A, B>(
  1. Either<Exception, B Function(A)> fn,
  2. Either<Exception, A> a
)
inherited

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)));