In this post, we will see how to resolve How does this lambda get its function argument in common lisp? Question: I have a table list: and I call this function on that list: In the lambda function, how does ...

In this post, we will see how to resolve Unreachable code within Cond recursive function — why? Question: With my recursive function, I have a cond with a fail conditon. When the concequence of the fail condition is nil, everything ...

In this post, we will see how to resolve I wish to change the format of the numbers contained in a list Common Lisp Allegro Question: I have lists which contain numbers with too many decimals. I would like to ...

In this post, we will see how to resolve How to type DO variables in common lisp? Question: I know you can declare function parameter types like But what about DO variables? For example, I want to type passes: When ...

In this post, we will see how to resolve Defining a type on a list that begins with a particular symbol Question: I am trying to use generic functions’ ability to specify behaviour based on the first argument of a ...

In this post, we will see how to resolve How does `~&’ know the ostream is already at the beginning of line? Question: My guess is: An ostream descriptor always stores the latest char sent to it.Say, after ostream receiving ...

Question: Let’s say I have a function Foo that takes 3 arguments. Foo for example sums these 3 numbers. Then I have have a list of these 3 values. Is there a way of dissolving this list, so each value ...

Question: So I have 2 router functions for learning to work with clack in common lisp. One is written without macros, and the other is written with macros that expand to match the first function, but only the non-macro version ...

Question: In Practical Common Lisp, Peter Seibel write: The mechanism by which multiple values are returned is implementation dependent just like the mechanism for passing arguments into functions is. Almost all language constructs that return the value of some subform ...

Question: The “finding the digits problem” is this: To solve it using recursion in Common Lisp, I’ve written this code: The delivered result (lst) is (9 9 9) The expected result (lst) is (9 8 1) meaning A=9, B=8, C=1 ...