ludus/janet/test.janet
2024-03-25 16:04:54 -04:00

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)