RosettaCodeData/Task/Logical-operations/Clojure/logical-operations.clj
Ingy döt Net db842d013d A-M baby
2013-04-10 21:29:02 -07: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)