common-lisp
Why is Common Lisp case insensitive?
Is there an advantage to defining a function like (defun hi () \"Hi!\") and be able to call it by using (hi) or (HI) or (Hi), or to (setf a-number 5) and be able to access that number using a-number,[详细]
2023-04-04 04:56 分类:问答Problems with Nth in common lisp
I\'m trying to write a function that can calculate GPA. Now I can do limited calculation(only 3 ),but I stuck on how to calculate more , without using loop or recursion (that\'s the requirement of sub[详细]
2023-04-03 21:10 分类:问答"is not of type LIST" error
I am doing Exercise 14.11 in \"A Gentle Introduction to Symbolic Computation,\" and wrote the following function:[详细]
2023-04-03 20:41 分类:问答Define n functions at once in Lisp
Suppose I want to do the following: (loop for i from 1 to n do (defun ith(lst) (nth i lst))) Apparently what I really want to do is the following:[详细]
2023-04-02 02:35 分类:问答What is happening with this Common Lisp code?
I\'ve written the following bit of code to 开发者_如何学JAVAsimulate rolling a six-sided die a number of times and counting how many times each side landed up:[详细]
2023-04-02 01:39 分类:问答Where to learn how to practically use Common Lisp [closed]
Closed. This question is seeking recommendations for books, tools, software libraries, and more. It does not meet Stack Overflow guidelines. It is not currently accepting answers.[详细]
2023-04-01 12:25 分类:问答SBCL error with cl-smtp
This is a recent error that I can\'t find any documentation for. It might not be cl-smtp specific, but it occurs each time I attempt to evaluate[详细]
2023-04-01 09:03 分类:问答Common lisp macro syntax keywords: what do I even call this?
I\'ve looked through On Lisp, Practical Common Lisp and the SO archives in order to answer this on my own, but those attempts were frustrated by my inability to name the concept I\'m interested in.I w[详细]
2023-03-29 16:41 分类:问答How do you compile macros in a Lisp compiler?
In a Lisp interpreter, there can easily be a branch in eval that can expand a macro, and in the process of expanding it, call functions to build up the expanded expression. I\'ve done this before usin[详细]
2023-03-28 03:16 分类:问答Is it possible to dynamically add one more super class in existing class
In Common-Lisp CLOS Is it possible to dynamically add one more super 开发者_JS百科class in existing class.[详细]
2023-03-28 00:12 分类:问答