lift<L, A, B> static method

Function1<Either<L, A>, Either<L, B>> lift<L, A, B>(
  1. B f(
    1. A a
    )
)

Implementation

static Function1<Either<L, A>, Either<L, B>> lift<L, A, B>(B f(A a)) => ((Either<L, A> oa) => oa.map(f));