common-lisp
Recursing in a lambda function
I have the following 2 functions that I wish to combine into one: (defun fib (n) (if (= n 0) 0 (fib-r n 0 1)))[详细]
2023-04-09 19:30 分类:问答Evaluating expressions contained as strings
I\'ve a database which returns vaild CL expressions within double开发者_开发问答 quotes. Is it possible to convert these strings to expressions.[详细]
2023-04-09 08:35 分类:问答:clouchdb error with ID
I\'m getting an error on one part of the :clouchdb example code (that\'s a link, but the examples.lisp file included doesn\'t work properly either).[详细]
2023-04-08 15:30 分类:问答Common lisp, undefined intersection function behaviour?
According to CLHS entry for the INTERSECTION function (http://www.lispworks.com/documentation/HyperSpec/Body/f_isec_.htm):[详细]
2023-04-08 05:52 分类:问答Not sure what this line does
(or (parse-integer (prompt-read \"Rating\") :junk-allowed t) 0) This line confuses me quite a bit. the full program is here if you need it to follow: http://paste.lisp.org/display/124929[详细]
2023-04-08 04:53 分类:问答Using two backquotes and commas, Common Lisp
I\'m learning common lisp and I have a problem with understanding the usage of two backquotes combined with two commas:[详细]
2023-04-07 04:29 分类:问答How to group any consecutive numbers or items of a given series
I am trying to group any consecutive numbers or items of a given series. all consecutive number 1 is return as a sublist.[详细]
2023-04-07 00:38 分类:问答Proper way to program in Lisp?
I\'m new to Common Lisp, and found myself taking advantage of way functions returns values. The following are to two trivial examples:[详细]
2023-04-06 22:57 分类:问答What's the corresponding standard function of atoi in clisp?
In visual lisp, you can use (atoi \"123\") to convert \"123\" to 123.It seems there is no \"atoi\" like function in clisp ?[详细]
2023-04-06 14:01 分类:问答What's the relationship between vector and list in Lisp?
I was told that there are only atom and list as the basic data structure in Lisp, does this mean vector in Lisp is some type of list? Was vector stored as list in the underl开发者_JAVA百科ying?What yo[详细]
2023-04-06 06:49 分类:问答