Exemple #1
0
 public static None Pure(None n)
 {
     return(Return(n));
 }
Exemple #2
0
 public static Func <None, None> Then(None t)
 {
     return(u => Instance);
 }
Exemple #3
0
 public static None Return(None n)
 {
     return(Instance);
 }
Exemple #4
0
 public static Func <Func <None, None>, None> Bind(None n)
 {
     return(f => Instance);
 }
Exemple #5
0
 public static State <S, S> Get(None n)
 {
     return(new State <S, S>(s => new StateValue <S, S>(s, s)));
 }