loading quicklisp in a program

扶醉桌前 提交于 2020-01-02 02:54:26

问题


What's the correct way to load quicklisp at the start of my program? I'm currently copy/pasting in the block that quicklisp inserted into my .eclrc, e.g.

;;; quicklisp
(let ((quicklisp-init (merge-pathnames "quicklisp/setup.lisp"
                                       (user-homedir-pathname))))
  (when (probe-file quicklisp-init)
    (load quicklisp-init)))

(ql:quickload "iterate")

but it seems like there has to be a less messy way to do things.


回答1:


There isn't really a good way to do that. It's more part of the development environment than the deployment environment.

I use buildapp to deploy CL programs, and there's a way for Quicklisp to export its index of systems and buildapp to load it.

There's certainly room for improvement.



来源:https://stackoverflow.com/questions/13906943/loading-quicklisp-in-a-program

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!