Exemple #1
0
 public static Thunk <IO <bool> > HpRateLessThan(Thunk <float> p0)
 {
     return(new MessageHpRateLessThan(p0));
 }
Exemple #2
0
 public With(Box <T> box, Thunk <IO <T> > ioGet, Thunk <IO <TR> > subTree)
 {
     this.box     = box;
     this.ioGet   = ioGet;
     this.subTree = subTree;
 }
Exemple #3
0
 public MessageHpRateLessThan(Thunk <float> p0)
 {
     this.p0 = p0;
 }
Exemple #4
0
 public static Thunk <float> Plus(Thunk <float> a, Thunk <float> b)
 {
     return(Help.MakePureThunk(a.GetUserValue() + b.GetUserValue()));
 }