clisp
Which command could be used to clear screen in CLISP?
Such as cls for cmd.exe. It\'s very 开发者_StackOverflow社区annoy if I can\'t do this.You can use screen:clear-window to do this:[详细]
2023-02-08 10:37 分类:问答Conditional anaphoric collection best practices?
I trying to iterate through a sequence, conditionally perform an operation on each element and then collect it 开发者_StackOverflow社区(but only if it matched the criteria). Here is a simplified examp[详细]
2023-02-08 01:01 分类:问答Mapcar and assoc
I would like to do: (mapcar #\'assoc \'(a s) \'((a . b) (c . d) (s . f))) and have it return ((A . B) (S . F))[详细]
2023-02-07 05:46 分类:问答Use the elements of the list in a format function
I want to do something like: (setf list \'(1 2 3 4 5 6)) (format t \"~A some text here ~A ~A ~A more text here ~A ~A\" list)[详细]
2023-01-31 21:12 分类:问答Setting List Values to Numbers in CL, and Subsequently Checking Them
I\'m playing around in CL, making a One-Dimensional version of Battleship before I try to tackle a full Two-Dimensional version, and I\'ve hit a hangup. To check if the boat is there, I\'ve represente[详细]
2023-01-31 06:27 分类:问答What to learn Scheme vs Lisp [closed]
Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing[详细]
2023-01-30 17:30 分类:问答LISP or Haskell [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a[详细]
2023-01-30 17:06 分类:问答How to define structures in Lisp using parameters in the definition
I want t开发者_如何学Goo write some Lisp code like this (defstruct board (size 7) (matrix (make-array (list size size))[详细]
2023-01-29 01:26 分类:问答Comparing lists in Lisp
I could figure out some way to do this myself but I have a feeling there\'s a simpler, perhaps built-in way to do this. I want to see if any two lists share an element. These are the two lists I\'m de[详细]
2023-01-27 08:47 分类:问答clisp : remove from list of list [duplicate]
This question already has an answer here: Test if array is inside a list in lisp 开发者_Python百科(1 answer)[详细]
2023-01-27 02:08 分类:问答