(* TODO: Write a good set of tests for eval. *)
let eval_tests = [
(* An example test case.
Note that you are *only* required to write tests for Rec and Apply!
Copyright By PowCoder代写 加微信 powcoder
(Let (“x”, I 1, Primop (Plus, [Var “x”; I 5])), I 6)
(* TODO: Implement the missing cases of eval. *)
let rec eval exp =
match exp with
程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com