函数有四种形惨,必要形参,可选形参,剩余形参,关键字形参。
(defun hello (a b) (list a b))
(defun hello (&optional a b) (list a b))
(defun hello (&rest a b) (list a b))
(defun hello (&key a b) (list a b))
函数有四种形惨,必要形参,可选形参,剩余形参,关键字形参。
(defun hello (a b) (list a b))
(defun hello (&optional a b) (list a b))
(defun hello (&rest a b) (list a b))
(defun hello (&key a b) (list a b))