Exemple #1
0
 public static Io <A> Also <A, B>(Io <A> a, Io <B> b) => a.Also(b);
Exemple #2
0
 public static Io <B> Then <A, B>(Io <A> a, Io <B> b) => a.Then(b);
Exemple #3
0
 public static Func <A, Io <B> > Demote <A, B>(Io <Func <A, B> > f) =>
 x => Of(() => f.Eval().Invoke(x));
Exemple #4
0
 private static A Eval <A>(Io <A> io) => io.Eval();
Exemple #5
0
 public static Io <A> Flatten <A>(this Io <Io <A> > io) => Of(() => io.Eval().Eval());