chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Finalizers


From: Zbigniew
Subject: Re: [Chicken-users] Finalizers
Date: Tue, 20 Jun 2006 15:53:06 -0500

This baffled me at first as well.  I like to define a trivial macro such as
 (define-macro (v x) `(begin (print ,x) (void)))
and wrap calls such as set-finalizer! in it, when testing from the interpreter.

On 6/20/06, John Cowan <address@hidden> wrote:
felix winkelmann scripsit:

> >Why is nothing reclaimed, and why isn't "(1 2 3) is dead" printed?
>
> The literal list is held in the interpreter history, because it is the
> result value of the set-finalizer! call. Running this in a normal
> program will work fine.

Ah, so it does.  Thanks.





reply via email to

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