RosettaCodeData/Task/Logical-operations/Common-Lisp/logical-operations.lisp
Ingy döt Net db842d013d A-M baby
2013-04-10 21:29:02 -07:00

4 lines
140 B
Common Lisp

(defun logic (a b)
(print "a and b is") (write (and a b))
(print "a or b is" ) (write (or a b))
(print "not a is" ) (write (not a)))