Exemplo n.º 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();
Exemplo n.º 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();
Exemplo n.º 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();
Exemplo n.º 4
0
 public static Aff <Fin <B> > Sequence <A, B>(this Fin <A> ta, Func <A, Aff <B> > f) =>
 ta.Map(f).Sequence();
Exemplo n.º 5
0
 public static TryAsync <Fin <B> > Sequence <A, B>(this Fin <A> ta, Func <A, TryAsync <B> > f) =>
 ta.Map(f).Sequence();
Exemplo n.º 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);
Exemplo n.º 7
0
 public static Task <Fin <B> > Sequence <A, B>(this Fin <A> ta, Func <A, Task <B> > f) =>
 ta.Map(f).Sequence();
Exemplo n.º 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);
Exemplo n.º 9
0
 public static IEnumerable <Fin <B> > Sequence <A, B>(this Fin <A> ma, Func <A, IEnumerable <B> > f) =>
 ma.Map(f).Sequence();
Exemplo n.º 10
0
 public static Fin <B> map <A, B>(Fin <A> ma, Func <A, B> f) =>
 ma.Map(f);
Exemplo n.º 11
0
 public static Fin <B> apply <A, B>(Func <A, B> fab, Fin <A> fa) =>
 fa.Map(fab);
Exemplo n.º 12
0
 public static HashSet <Fin <B> > Sequence <A, B>(this Fin <A> ta, Func <A, HashSet <B> > f) =>
 ta.Map(f).Sequence();
Exemplo n.º 13
0
 public static OptionUnsafe <Fin <B> > Sequence <A, B>(this Fin <A> ta, Func <A, OptionUnsafe <B> > f) =>
 ta.Map(f).Sequence();
Exemplo n.º 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();