Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
user=> (defn odd-even
#_=> "Determines whether or not n is odd or even."
#_=> [n]
#_=> (cond
#_=> (= (rem n 2) 0) "even"
#_=> (= (rem n 2) 1) "odd"))
user=> (odd-even 2)
user=> (odd-even 3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment