函数定义

  1. (defun function-name (parameter-list)
  2. "comment"
  3. (body-list))

例:

  1. (defun hi()
  2. "say hello"
  3. (format t "hello")
  4. (format t "world"))

函数引用

  1. #'hi
  2. (function hi)

函数调用

funcall

  1. (funcall #'hi)

apply

  1. (apply #'hi nil)
文档更新时间: 2019-06-14 15:07