Discussion:
local binding, too local...
Jean-Christophe Helary
2018-12-08 02:18:49 UTC
Permalink
In a defun I wrote I have a let* block that does something, then some setf code, then a let block that does something on the values created by setf, but the let block needs a value that it set in the let* block.

I would like to keep things local, but not *that* local, just *defun* local.

Is there a clean way to declare variables local to a defun and without being locked by let\*? blocks ?



Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune
Drew Adams
2018-12-08 06:07:46 UTC
Permalink
Post by Jean-Christophe Helary
In a defun I wrote I have a let* block that does something, then some
setf code, then a let block that does something on the values created
by setf, but the let block needs a value that it set in the let* block.
I would like to keep things local, but not *that* local, just *defun* local.
Is there a clean way to declare variables local to a defun and without
being locked by let\*? blocks ?
How about an example? It's not clear to me what
you are describing.

Continue reading on narkive:
Loading...