Skip to content

Instantly share code, notes, and snippets.

@BaseCase
Created September 3, 2008 15:27
Show Gist options
  • Save BaseCase/8612 to your computer and use it in GitHub Desktop.
Save BaseCase/8612 to your computer and use it in GitHub Desktop.
;Exercise 1.5 - Applicative vs normal-order evaluation.
;given this code:
(define (p) (p))
(define (test x y)
(if (= x 0)
0
y))
;what happens when we evaluate this?
(test 0 (p))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment