lift<A, B> method

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

Perform the operation fn with the value in a and wrap with Applicative<B> for pipelining.

Implementation

@override
Maybe<B> lift<A, B>(Maybe<B Function(A)> fn, Maybe<A> a) =>
    fn.bind<B>((fn) => a.fmap((a) => fn(a)));