In this post, we will see how to resolve Using a Package as a Hash Table in Common Lisp Question: Would it be practicable to initially store a lot of symbols in a package (separate from a project package), and ...
In this post, we will see how to resolve Is an EQ Hash-table Really More Efficient than an EQUAL Hash-table in SBCL? Question: I’ve always assumed that EQ is much faster than EQUAL for hash-tables. But a simple test gives ...
In this post, we will see how to resolve The lisp approach to packaging a library of reusable functions? Question: I have 3 function and 2 macros I use in every project. I can imagine that this list will grow ...
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 ...
Question: After defining and disassembling the function fn, I can see that the function (or code component) resides at memory address 0x53675216. But I don’t see said memory address to be in the range of memory-mapped files attributed to the ...
Question: I’m trying to fully understand the limitations of compile-time macros. Here is a macro (I’m fully aware that this is not a best-practice macro): I compile the macro: I compile this form: The compile-time print output is what I ...
Question: Lets say i define a macro Now i want to be able to always load this macro in all my lisp files in future where should i save this macro? Answer: Every CL implementation has an init file it ...