public static IDelayed <T2> SelectMany <T0, T1, T2>( this IDelayed <T0> value, Func <T0, IDelayed <T1> > selector, Func <T0, T1, T2> projector) { return(value.SelectMany(value0 => selector(value0).Select(value1 => projector(value0, value1)))); }
public static IDelayed <ISeq <T2> > SelectMany <T0, T1, T2>( this IDelayed <ISeq <T0> > delayedSeq, Func <T0, IDelayed <ISeq <T1> > > selector, Func <T0, T1, T2> projector) { return(delayedSeq.SelectMany(value0 => selector(value0).Select(value1 => projector(value0, value1)))); }
public static IDelayed <T1> FlatMap <T0, T1>( this IDelayed <T0> value, Func <T0, IDelayed <T1> > func) { return(value.SelectMany(func)); }
public static IDelayed <ISeq <T1> > FlatMap <T0, T1>( this IDelayed <ISeq <T0> > delayedSeq, Func <T0, IDelayed <ISeq <T1> > > func) { return(delayedSeq.SelectMany(func)); }