8 lines
141 B
Plaintext
8 lines
141 B
Plaintext
(def myodd? nil)
|
|
|
|
(defn myeven? [x] (if (= 0 x) true (myodd? (dec x))))
|
|
|
|
(defn myodd? [x] (if (= 0 x) false (myeven? (dec x))))
|
|
|
|
(myeven? 2)
|