RosettaCodeData/Task/Logical-operations/Clojure/logical-operations.clj
2023-07-01 13:44:08 -04:00

6 lines
152 B
Clojure

(defn logical [a b]
(prn (str "a and b is " (and a b)))
(prn (str "a or b is " (or a b)))
(prn (str "not a is " (not a))))
(logical true false)