0
Help
scala> val env: Main.Environment = { case "x" => 5 case "y" => 7 } env: Main.Environment = $Lambda$1511/1682100030@60f1f95b scala> val exp: S = E(Var(x),Some(E2(E(Const(7),Some(E2(E(Var(y),None))))))) exp: S = E(Var(x),Some(E2(E(Const(7),Some(E2(E(Var(y),None))))))) scala> println(Main.eval(exp, env))
1 Answer
0
So what is your question/ problem?