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