Skip to content

Instantly share code, notes, and snippets.

@kouddy
Last active August 29, 2015 14:15
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/1e455696fd00e58cc917 to your computer and use it in GitHub Desktop.
Save kouddy/1e455696fd00e58cc917 to your computer and use it in GitHub Desktop.
;;;Re-written version of the code
(define (a-plus-abs-b a b)
(if (> b 0)
(+ a b)
(- a b)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment