Given a set of lexical variables, is it feasible to rebind a subset of them depending on circumstances at runtime. My first idea was to use #'set some ...
Given a set of lexical variables, is it feasible to rebind a subset of them depending on circumstances at runtime. My first idea was to use #'set some ...
I am trying to build a common lisp implementation of the channel construct of Golang for a personal project (also to learn lisp). So far I've implemen ...
In below situation, I want to get same results for a and (car b) like (10 10). But just symbol A is shown as a result of (car b). Can we get 10 with l ...
I am learning Common Lisp (SBCL). I want to create a facility to invoke two (or more) macros with several similar expressions that differ only in som ...
Besides the cosmetic differences, what is the difference between key and optional these: (defun play (&key now) ...) (defun play (&op ...
The background here is that I have a non-destructive version of a function that I want to make destructive for performance reasons. However, writing u ...
I defined a package like this: (defpackage :web-app (:nicknames :wa) (:use :cl :hunchentoot)) This works fine. But I want to remove hunchentoo ...
I would like to create a graphic, some points and lines, possibly with colours, out of lists of numbers. What would be the simplest and efficient solu ...
Putting in the following code into ~/.sbclrc allows me to receive a simplified error message without diving into the debugger (which I find a bit irri ...
Let's say you want to get the lambda list of every function in a package. On SBCL, using iterate you could do this (use-package :iterate) (defun lam ...
I am trying to shadow the mathematical operators in the CL package. Except for *, / and +, this works fine. However the symbol-value of those symbols ...
I have a function that uses &rest which returns a list of the varying amount of args to the function. I open break lists up with destructuring bi ...
I'm currently reading through Seibel's "Practical common lisp" and found this example macro: do-stuff simply then format the two args in a certain ...
An additional library mylibrary.el for emacs (v 26.3) was added to load-path and is autoloaded in my init.el file. The library is also listed under m ...
I have a recursive function that counts the number of occourances in a file. A common task I like to do is report the outcome of a function with a fo ...
Simply for the sake of completeness I would like to know, whether there is a way to define "jagged" or "ragged arrays" in Common Lisp like it is descr ...
When I load the vega-lite data sets using (vega:load-vega-examples) I get the following error: Could not REQUIRE CL-DATE-TIME-PARSER: circularity d ...
I'm a complete newbie to Lisp-Stat, and I started working through the tutorial at https://lisp-stat.dev/docs/tutorials/basics, but when I type (stand ...
Yesterday, I asked a question about creating libraries with common lisp. my lib: ;in my-lib.asd (asdf:defsystem :my-lib :depends-on (:cl-json :cls ...
Python's Itertools has what is called starmap. Given a collection of collections and a function, it applies the function to each collection strictly i ...