Skip to content

Instantly share code, notes, and snippets.

@dkrikun
Created November 11, 2018 15:10
Show Gist options
  • Save dkrikun/e3efebf201a402ab499ef16bf8de108e to your computer and use it in GitHub Desktop.
Save dkrikun/e3efebf201a402ab499ef16bf8de108e to your computer and use it in GitHub Desktop.
sicp-exercises created by dkrikun - https://repl.it/@dkrikun/sicp-exercises
(define (abs x)
(cond ((> x 0) x)
((= x 0) 0)
((< x 0) (- x))
))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment