所以我想口齿不清教我,我目前使用这个网站作为参考:https://www.tutorialspoint.com/lisp/lisp_if_construct.htm 我为什么执行then子句不太了解,尽管if条款是假的? (setq a 10)
(if (> a 20)
then (format t "~% a is less than 20"))
(format t "~% val
这里是乘法阶 https://en.wikipedia.org/wiki/Multiplicative_order 在这里的定义是程序 (defun power (x y)
(if (= y 0) 1
(if (evenp y) (* (power x (/ y 2)) (power x (/ y 2)))
(* x (power x (/ (- y 1)