flatMapTuple2<A, A2> function
A variant of flatMap that appends the result to a tuple.
Implementation
Option<Tuple2<A, A2>> Function(Option<A> o) flatMapTuple2<A, A2>(
Option<A2> Function(A a) f,
) =>
flatMap((a) => f(a).p(map((b) => tuple2(a, b))));