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