在程序中加载quicklisp [英] loading quicklisp in a program
本文介绍了在程序中加载quicklisp的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在程序开始时加载quicklisp的正确方法是什么?我目前正在复制/粘贴quicklisp插入我的.eclrc中的代码段,例如
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.
推荐答案
有并不是真正的好方法。
There isn't really a good way to do that. It's more part of the development environment than the deployment environment.
我使用buildapp部署CL程序,Quicklisp有一种方法可以将其系统索引和buildapp导出到
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.
肯定还有改进的空间。
这篇关于在程序中加载quicklisp的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文