Skip to content

Instantly share code, notes, and snippets.

@atton
Created May 5, 2012 04:22
Show Gist options
  • Save atton/2599771 to your computer and use it in GitHub Desktop.
Save atton/2599771 to your computer and use it in GitHub Desktop.
sicp 1.3
(define (hoge a b c)
(define (square x) (* x x))
(define (minimum x y) (if (< x y) x y))
(-
(+ (square a) (square b) (square c))
(square (minimum a (minimum b c)))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment