Skip to content

Instantly share code, notes, and snippets.

@jacksonh
Created June 19, 2018 18:59
Show Gist options
  • Save jacksonh/49e790630c6f2c97eda950de14cea1da to your computer and use it in GitHub Desktop.
Save jacksonh/49e790630c6f2c97eda950de14cea1da to your computer and use it in GitHub Desktop.
(defn square-largest-two [x y z]
(defn sum-squares [x y] (+ (* x x) (* y y)))
(sum-squares (max x y) (max y z))
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment