sbcl
How can I determine the operating system and hostname using common lisp?
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[详细]
2023-01-28 23:46 分类:问答Does CLISP have something like SBCL's sb-ext:*posix-argv*?
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).[详细]
2023-01-26 21:30 分类:问答Why doesn't a LISP defun require a quote before its parameter argument?
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[详细]
2023-01-25 14:54 分类:问答Integer Value is Not a Number in Common Lisp?
When I execute the following Common Lisp program by calling (play), I get the error: Argument X is not a NUMBER: Guess[详细]
2023-01-22 07:11 分类:问答Read Statement Being Skipped Over, Unbound Variable
I\'m still working on my number guessing game in Common Lisp, and I\'ve reached a standstill. When the following code is invoked:[详细]
2023-01-22 07:09 分类:问答Common Lisp Error Not Understood
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:[详细]
2023-01-21 06:50 分类:问答Common Lisp: deleting unreachable code
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[详细]
2023-01-19 18:26 分类:问答Function Erroneously Returning Nil
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[详细]
2023-01-15 05:35 分类:问答Is there a simple method for writing traces from multiple sbcl threads to standard output through MCLIDE/swank?
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.[详细]
2023-01-14 03:40 分类:问答auto indentation on common lisp emacs + slime + sbcl in windows
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:[详细]
2023-01-05 10:20 分类:问答