guile-user
[Top][All Lists]
Advanced

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

Re: Guile top-level functions


From: Kevin Ryde
Subject: Re: Guile top-level functions
Date: Tue, 18 Jan 2005 11:23:14 +1100
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux)

Neil Jerram <address@hidden> writes:
>
> guile> (define (x) (ddd))
> guile> (x)

Actually I was thinking of something like

        (define callback noop)
        ...
        (set! callback (lambda () (display 'hello)))
        ...
        (callback)

when the callback is made you'd like to know where that anonymous
procedure came from.

I've been hitting this lately in guile-gtk signal callbacks.  The
calls are all made from the main loop, so the location of the call
doesn't help, you'd like to know the location of the procedure's
creation.




reply via email to

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