test.lisp
(defun foo (x y z) (+ x y z))
第1种:
CL-USER> (load "test.lisp")
第2种:
CL-USER> (load (compile-file “test.lisp")) //快速加载
第3种:
(defun foo (x y z) (+ x y z)) //C-c C-l:加载文件名
第4种:
(defun foo (x y z) (+ x y z)) //C-c C-c:重新编译定义,加载整个文件
第5种:
(defun foo (x y z) (+ x y z)) //C-c C-k:编译并加载当前缓冲区;编译生成.fasl文件
Common lisp之加载方式(一)
于 2017-07-19 00:09:41 首次发布