Some more thoughts on local variables in scheme from a newbie POV.

Due to a parenthesis syntaxes of variable declaration area, if variable 
x is declared before variable y and y is declared before x is dropped, x 
remains active at least until y is dropped.

(let (x 1)
   (let (y 2)

   ;x is used here
   ;noway to drop x here

   )  ;let (y
)  ;(let (x

So there is no much benefit from such a manner of local variable 
definition in sense of memory consumption.

With respect
Alexander Rabtchevich
Gimp-developer mailing list

Reply via email to