RosettaCodeData/Task/Logical-operations/Common-Lisp/logical-operations.lisp

5 lines
140 B
Common Lisp
Raw Permalink Normal View History

2013-04-10 21:29:02 -07:00
(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)))