common-lisp
how to take two input simultaneously in lisp?
I want to add two numbers that are to be ent开发者_如何转开发ered by the user in Lisp.How can I do that?I used the read command twice but it shows an error.I recommend parsing numbers from user input[详细]
2023-03-05 03:22 分类:问答Lisp parenthesis question
This piece of code is from book : \"Land Of Lisp\" First version is from book. When I read it, i thought there are parenthesis \"(\" not necessary just before \"at-loc-p\" at 2nd line and \")\" just a[详细]
2023-03-04 14:52 分类:问答Predicates Common Lisp
Do you know where can I get the source of a predicate in Common Lisp? (The content of the predicate, if you pre开发者_如何学运维fer.) For example, source code of setq, string= etc.[详细]
2023-03-03 23:45 分类:问答Compose example in Paul Graham's ANSI Common Lisp
Can anybody explain an example in Paul Graham\'s ANSI Common Lisp page 110? The example try to explain the use &rest and lambda to create functional programming facilities. One of them is a functi[详细]
2023-03-03 14:17 分类:问答Write/read a Common Lisp (SBCL) hash-table, or alternative
I would like to write/read a hash-table to/from disk, but it is not a (print)able object. I won\'t know the key names so I can\'t think of a way to do it manually. I read that there might be distribut[详细]
2023-03-02 18:15 分类:问答Using a lambda value from function as first element of list
I\'m reading over Peter Norvig\'s Paradigms of Artificial Intelligence Programming, and I\'ve come across an issue I cannot resolve on my own (this is my introduction to Lisp). The issue is quite a sm[详细]
2023-03-02 16:47 分类:问答In Lisp how can I check stream to see if it's empty without modifying it?
How can I che开发者_如何学Gock if the stream is empty without modifying it?At the moment I\'m using peek-char to see if there a character, but it appears to wait for the user to enter something if not[详细]
2023-03-02 00:15 分类:问答In LISP is it possible to access a function's form?
Supp开发者_运维问答ose I define a function globally: (defun x (y) (1+ y)) ;; Edit: my first example was too complicated[详细]
2023-03-01 15:05 分类:问答lisp: How to create temporary method specialization within a scope
In Common lisp: Redefine an existing function within a scope? the OP asked for something similar. But I want to create a method specializer, not a function.[详细]
2023-03-01 05:11 分类:问答What does #+#. mean in lisp?
It is almost impossible to google, hence my understanding is limited to contextual clues from reading through the slim开发者_开发百科e source code: perhaps it is part of the object system in common li[详细]
2023-03-01 04:16 分类:问答
加载中,请稍侯......