Exemplo n.º 1
0
 public static State <S, IEnumerable <B> > traverse <S, A, B>(IEnumerable <State <S, A> > ma, Func <A, B> f) =>
 SeqStateExtensions.TraverseFast(ma, f).Map(Enumerable.AsEnumerable);
Exemplo n.º 2
0
 public static State <S, HashSet <B> > traverse <S, A, B>(HashSet <State <S, A> > ma, Func <A, B> f) =>
 SeqStateExtensions.TraverseFast(ma, f).Map(toHashSet);
Exemplo n.º 3
0
 public static State <S, Stck <B> > traverse <S, A, B>(Stck <State <S, A> > ma, Func <A, B> f) =>
 SeqStateExtensions.TraverseFast(ma, f).Map(toStack);
Exemplo n.º 4
0
 public static State <S, Arr <B> > traverse <S, A, B>(Arr <State <S, A> > ma, Func <A, B> f) =>
 SeqStateExtensions.TraverseFast(ma, f).Map(toArray);
Exemplo n.º 5
0
 public static State <S, B[]> traverse <S, A, B>(State <S, A>[] ma, Func <A, B> f) =>
 SeqStateExtensions.TraverseFast(ma, f).Map(x => x.ToArray());
Exemplo n.º 6
0
 public static State <S, Seq <B> > traverse <S, A, B>(Seq <State <S, A> > ma, Func <A, B> f) =>
 SeqStateExtensions.TraverseFast(ma, f).Map(Prelude.Seq);
Exemplo n.º 7
0
 public static State <S, Lst <B> > traverse <S, A, B>(Lst <State <S, A> > ma, Func <A, B> f) =>
 SeqStateExtensions.TraverseFast(ma, f).Map(toList);
Exemplo n.º 8
0
 public static State <S, Stck <A> > sequence <S, A>(Stck <State <S, A> > ma) =>
 SeqStateExtensions.SequenceFast(ma).Map(toStack);
Exemplo n.º 9
0
 public static State <S, IEnumerable <A> > sequence <S, A>(IEnumerable <State <S, A> > ma) =>
 SeqStateExtensions.SequenceFast(ma).Map(Enumerable.AsEnumerable);
Exemplo n.º 10
0
 public static State <S, HashSet <A> > sequence <S, A>(HashSet <State <S, A> > ma) =>
 SeqStateExtensions.SequenceFast(ma).Map(toHashSet);
Exemplo n.º 11
0
 public static State <S, A[]> sequence <S, A>(State <S, A>[] ma) =>
 SeqStateExtensions.SequenceFast(ma).Map(x => x.ToArray());
Exemplo n.º 12
0
 public static State <S, Arr <A> > sequence <S, A>(Arr <State <S, A> > ma) =>
 SeqStateExtensions.SequenceFast(ma).Map(toArray);
Exemplo n.º 13
0
 public static State <S, Lst <A> > sequence <S, A>(Lst <State <S, A> > ma) =>
 SeqStateExtensions.SequenceFast(ma).Map(toList);
Exemplo n.º 14
0
 public static State <S, Seq <A> > sequence <S, A>(Seq <State <S, A> > ma) =>
 SeqStateExtensions.SequenceFast(ma).Map(Prelude.Seq);