CS代写 (* TODO: Write a good set of tests for eval. *) – cscodehelp代写
(* 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 cscodehelp代写 加微信 cscodehelp
(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代考 加微信: cscodehelp QQ: 2235208643 Email: kyit630461@163.com