
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A homework assignment for a university-level computer science course (cs 421). Students are required to print the document, fill in the missing environments in the given execution sequence for a function definition and expression, and hand it in for evaluation. The evaluation rules in class notes and supplementary notes for march 25.
Typology: Assignments
1 / 1
This page cannot be seen from the preview
Don't miss anything!

Please print these two pages, fill in the answers, and hand in the homework in class. The evaluation rules are given in the class notes and supplementary notes for March 25. In the following execution sequence, fill in the missing environments. You should use the linked version of environments, as was done in the second part of the class notes and in the supplementary notes. In some cases, we’ve given names to the environments; in subsequent execution steps, you can refer to those environments by name instead of writing the entire environment. The execution sequence is given for the following top-level definition and expression: let h x = let g b= x+b in let c = g x in g c;; h 4;; Execution starts in environment ρ.