Tag : common-lisp

emacs 29.1 sbcl 2.4.0 slime 2.29.1 Here’s my function: (defun my-case () (case ‘a (b “hello”) (a “world”) (otherwise “mars”))) When I compile it, C-c C-k, I see the following in the mini-buffer: Compilation finished: 2 notes In the slime repl, I see: ; processing (DEFUN MY-CASE …) ; file: /var/tmp/slimeckqotJ ; in: DEFUN MY-CASE ..

Read more

In Common Lisp, we have to use the let form to declare a new lexically-scoped variable. This means that the code either looks like that written in C89 (all variables declared on top of scope), or acquires unreadably deep nesting. let* is somewhat useful, but is not always appli..

Read more