Name: Anonymous 2008-01-12 16:36
how do i wrote if statements in LISP?
(when <cond>
<s-exps>*)
(unless (not <cond>)
<s-exps>*)(defmacro .if (test if-true &body if-false)
`(progn (when ,test ,if-true) (when (not ,test) ,@if-false)))
.IF
0] (.if t (print 3) (print 4))
NIL3
0]