[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: local binding, too local...

From: Stefan Monnier
Subject: Re: local binding, too local...
Date: Sat, 08 Dec 2018 11:41:10 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>       (let* ((bar '(baz quux))) 
>         (setf (car bar) 'xyzzy) 
>         (let ((plugh (cdr bar))) 
>           (message "%s" plugh)))) 
> Can also be written
>    (let (bar plugh) 
>     (setf bar '(baz quux))
>     (setf (car bar) 'xyzzy)
>     (setf plugh (cdr bar)))

Indeed, but you lose a lot of karma points for that,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]