To get my .sbclrc file working on the two computers I use, I\'d like a way to get the hostname and/or operating system from within sbcl. I know I could set and th开发者_StackOverflow中文版en look for
I\'d like to be able to access CLISP\'s argv fro开发者_运维百科m Lisp.It seems that there is either ext:argv or ext:*args*, depending on your needs (from the implementation notes).
Take this function: (defun sum-greater (x y z) (> (+ x y) z)) It\'s my understanding that in LISP the first element in a list always represents a function to be performed on the subsequent atom
When I execute the following Common Lisp program by calling (play), I get the error: Argument X is not a NUMBER: Guess
I\'m still working on my number guessing game in Common Lisp, and I\'ve reached a standstill. When the following code is invoked:
I\'m trying to write a number guessing game in Lisp as a time-killing project. However, when I try to load up the program using SBCL, I get the following error:
This is an easy one. (let ((x)) (if (typep x \'null) \"a\" \"b\")) generate a warning about unreachable code deletion. Presumably the compiler was smart enough to figure that it is only executed on
I\'m trying to learn Lisp now, as a supplement to my CS1 course because the class was moving too slow for me. I picked up \"Practical Common Lisp,\" which so far has turned out to be a great book, but
Using SBCL, I\'m writing a small server and I would like to trace the server thread, but when I use mclide/swank, I do not see any output from the server thread.
I can\'t use auto indentation function on emacs + slime + sbcl when I define my function and so on. My .emacs file configu开发者_如何学JAVAration is this: