government / testdata / truthiness.gov.lisp

@ f98307e213f9f3c11b00c8edc3c367c315b9819a | history


; Only F is false.
(and F (car '()))     ;=> F
(or F 7)              ;=> 7
(if 0 'true 'false)   ;=> true
(if F 1)              ;=> ()
(not 0)               ;=> F