lift<A, B> method

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

Implementation

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