Guest User

Untitled

a guest
Feb 19th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. ;Exercise 1.5 - Applicative vs normal-order evaluation.
  2. ;given this code:
  3. (define (p) (p))
  4.  
  5. (define (test x y)
  6. (if (= x 0)
  7. 0
  8. y))
  9.  
  10. ;what happens when we evaluate this?
  11. (test 0 (p))
Add Comment
Please, Sign In to add comment