Пример #1
0
 public static Func <A, Io <B> > Demote <A, B>(Io <Func <A, B> > f) =>
 x => Of(() => f.Eval().Invoke(x));
Пример #2
0
 private static A Eval <A>(Io <A> io) => io.Eval();
Пример #3
0
 public static Io <A> Flatten <A>(this Io <Io <A> > io) => Of(() => io.Eval().Eval());