Beispiel #1
0
 public Expr GenUUID()
 {
     if (variable.id == null)
     {
         Val v = new Val(variable.value, Guid.NewGuid().ToString());
         return(new Fun(v, expr.ApplyUUID(v).GenUUID()));
     }
     return(new Fun(variable, expr.GenUUID()));
 }
Beispiel #2
0
 public Expr ApplyUUID(Val a) =>
 new App(f.ApplyUUID(a), x.ApplyUUID(a));