puzzles for student presentations
puzzle #1
- define exp and compound using the procedure ‘repeated’ from problem set 2,and explain how they work
puzzle #2
- define procedures make-pair, first and second such that(first (make-pair a b)) evaluates to whatever a evaluates to, and(second (make-pair a b)) evaluates to whatever b evaluates to
- hint: make-pair’s result is a procedure