government / testdata / truthiness.gov.lisp

@ 37b1f5914992b1c2410e634b80cb352b72e7f793 | history


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