public static ILendable <C> SelectMany <A, B, C>(this ILendable <A> lendable, Func <A, ILendable <B> > bind, Func <A, B, C> select) { return(lendable .Bind((a) => bind(a) .Map((b) => select(a, b)))); }
public static ILendable <B> SelectMany <A, B>(this ILendable <A> lendable, Func <A, ILendable <B> > f) { return(lendable.Bind(f)); }