Skip to content

Instantly share code, notes, and snippets.

@kouddy
Created February 14, 2015 21:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kouddy/c1a0c9c1533e914a42c7 to your computer and use it in GitHub Desktop.
Save kouddy/c1a0c9c1533e914a42c7 to your computer and use it in GitHub Desktop.
(test 0 p)
;;;Applicative-order
(test 0 p) ;;; Substitute p with p
(test 0 p) ;;; Substitute p with p
(test 0 p) ;;; Substitute p with p
;;;Normal order
(test 0 p)
(if (= 0 0) 0 p) ;;;p's value not needed
0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment