I want to send a post method request to a kubernetes web api with json data request in common..
Tag : common-lisp
Does the order in which I define defmethod
s play a role? Is it guaranteed that the first definition is tested first to see if the parameters ..
I defined a local recursive function using flet
. The recursive function calculates facto..
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 ..
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..