예제 #1
0
 public static Eff <RT, Fin <B> > Sequence <RT, A, B>(this Fin <A> ta, Func <A, Eff <RT, B> > f) where RT : struct =>
 ta.Map(f).Sequence();
예제 #2
0
 public static EitherAsync <L, Fin <B> > Sequence <L, A, B>(this Fin <A> ta, Func <A, EitherAsync <L, B> > f) =>
 ta.Map(f).Sequence();
예제 #3
0
 public static Validation <Fail, Fin <B> > Sequence <Fail, A, B>(this Fin <A> ta, Func <A, Validation <Fail, B> > f) =>
 ta.Map(f).Sequence();
예제 #4
0
 public static Aff <Fin <B> > Sequence <A, B>(this Fin <A> ta, Func <A, Aff <B> > f) =>
 ta.Map(f).Sequence();
예제 #5
0
 public static TryAsync <Fin <B> > Sequence <A, B>(this Fin <A> ta, Func <A, TryAsync <B> > f) =>
 ta.Map(f).Sequence();
예제 #6
0
 public static Que <Fin <B> > Sequence <A, B>(this Fin <A> ta, Func <A, Que <B> > f) =>
 ta.Map(f).Traverse(Prelude.identity);
예제 #7
0
 public static Task <Fin <B> > Sequence <A, B>(this Fin <A> ta, Func <A, Task <B> > f) =>
 ta.Map(f).Sequence();
예제 #8
0
 public static Validation <MonoidFail, Fail, Fin <B> > Sequence <MonoidFail, Fail, A, B>(this Fin <A> ta, Func <A, Validation <MonoidFail, Fail, B> > f)
     where MonoidFail : struct, Monoid <Fail>, Eq <Fail> =>
 ta.Map(f).Traverse(Prelude.identity);
예제 #9
0
 public static IEnumerable <Fin <B> > Sequence <A, B>(this Fin <A> ma, Func <A, IEnumerable <B> > f) =>
 ma.Map(f).Sequence();
예제 #10
0
 public static Fin <B> map <A, B>(Fin <A> ma, Func <A, B> f) =>
 ma.Map(f);
예제 #11
0
 public static Fin <B> apply <A, B>(Func <A, B> fab, Fin <A> fa) =>
 fa.Map(fab);
예제 #12
0
 public static HashSet <Fin <B> > Sequence <A, B>(this Fin <A> ta, Func <A, HashSet <B> > f) =>
 ta.Map(f).Sequence();
예제 #13
0
 public static OptionUnsafe <Fin <B> > Sequence <A, B>(this Fin <A> ta, Func <A, OptionUnsafe <B> > f) =>
 ta.Map(f).Sequence();
예제 #14
0
 public static Aff <RT, Fin <B> > Sequence <RT, A, B>(this Fin <A> ta, Func <A, Aff <RT, B> > f)
     where RT : struct, HasCancel <RT> =>
 ta.Map(f).Sequence();