unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Kevin Ryde <user42@zip.com.au>
Cc: guile-user@gnu.org, spikegran@earthlink.net
Subject: Re: Guile top-level functions
Date: Tue, 18 Jan 2005 11:23:14 +1100	[thread overview]
Message-ID: <87is5vfuvh.fsf@zip.com.au> (raw)
In-Reply-To: <41EC4729.6020601@ossau.uklinux.net> (Neil Jerram's message of "Mon, 17 Jan 2005 23:15:53 +0000")

Neil Jerram <neil@ossau.uklinux.net> 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.


_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user


  reply	other threads:[~2005-01-18  0:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-16 19:54 Guile top-level functions Mike Gran
2005-01-17  0:05 ` Kevin Ryde
2005-01-17  8:38   ` Neil Jerram
2005-01-17 22:20     ` Kevin Ryde
2005-01-17 23:15       ` Neil Jerram
2005-01-18  0:23         ` Kevin Ryde [this message]
2005-01-19 21:39           ` Neil Jerram
2005-01-19 22:15             ` Kevin Ryde

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87is5vfuvh.fsf@zip.com.au \
    --to=user42@zip.com.au \
    --cc=guile-user@gnu.org \
    --cc=spikegran@earthlink.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).