@ksaj My first guess is that you're doing something annoying like this ->
CL-USER> (defun bar (&aux (y 1))
(+ y (locally (declare (special y)) y)))
BAR
CL-USER> (defparameter y -1)
Y
CL-USER> (bar)
0
CL-USER> (defun bar (&aux (y 1))
(+ y (locally (declare (special y)) y)))
WARNING: redefining COMMON-LISP-USER::BAR in DEFUN
BAR
CL-USER> (bar)
2
I can never get special variables straight.
I'll think tomorrow
@khleedril @amszmidt
Embed Notice
HTML Code
Corresponding Notice
- Embed this notice
screwlisp (screwtape@mastodon.sdf.org)'s status on Thursday, 03-Apr-2025 20:48:21 JST screwlisp