common-lisp
load external with emacs-slime
I\'d like to install slime on my Emacs 23.2.1. Since M-x slime doesn\'t succeed in start it, I modified the ~/.emacs file.[详细]
2023-04-05 07:13 分类:问答Specifying multiple options in a structure's constructor?
I tried defining a structure with a custom print function and constructor like so: (defun print-test (a-test stream depth)[详细]
2023-04-05 06:33 分类:问答sbcl on SUSE 10 x86-64 error: floating point exception
I download the http://prdownloads.sourceforge.net/sbcl/sbcl-1.0.51-x86-64-linux-binary.tar.bz2 and install inSUSE 10 x86-64. But when run sbcl it error say: floating point exception[详细]
2023-04-04 21:44 分类:问答How can I make a structure's constructor evaluate sequentially in Common Lisp?
开发者_JS百科I would like to do something akin to this: (defstruct person real-name (fake-name real-name)) ;if fake-name not supplied, default to real-name[详细]
2023-04-04 19:25 分类:问答Is there a way to use a keyword as a function in Common Lisp, as one does in Clojure?
In Clojure one can write (:foo {:foo 3 :bar 5}) which evaluates to 3. Is there any way to extend Common Lisp so that a ke开发者_开发知识库yword will act as a function that looks itself up?There are[详细]
2023-04-04 18:55 分类:问答Can anyone give me some hints about this question(Family tree)?
It comes from my homework assignments. There is a family tree a+b /||\\ c+ud+ce+wf / | \\/ \\ m+xn+yopq r[详细]
2023-04-04 18:42 分类:问答Lisp: How to override default string representation for CLOS class?
In Common Lisp, how can I override the default s开发者_如何学运维tring representation of a CLOS class so that calls to format or princ will print something intelligible, even when objects of that clas[详细]
2023-04-04 16:52 分类:问答about the function eval in common lisp
Can somebody explain why the function eval behaves like this? (eval (list \'cons t n开发者_如何学Cil)) returns (T)[详细]
2023-04-04 10:00 分类:问答TTK error in programms with LTK
After upgrade开发者_开发问答 of the system from Ubuntu 10.10 to Ubuntu 11.04, have a problem with LTK.[详细]
2023-04-04 08:03 分类:问答How to understand the parameter binding in macro definition in Lisp?
As shown in the below Lisp code, (defvar a 1) (defvar b 2) (defmacro macro-add (c d) `(开发者_运维技巧+ ,c ,d))[详细]
2023-04-04 05:22 分类:问答