unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Neil Jerram <neil@ossau.uklinux.net>
Cc: guile-user@gnu.org
Subject: Re: Making the -e option compatible with new versions of Guile 1.4
Date: Fri, 14 Jan 2005 23:39:08 +0000	[thread overview]
Message-ID: <41E8581C.4050408@ossau.uklinux.net> (raw)
In-Reply-To: <ljr7koug1a.fsf@troy.dt.e-technik.uni-dortmund.de>

Marius Vollmer wrote:
> Hi,
> 
> For 1.7, I have made Guile's interpretation of the -e option
> compatible with the behavior of ttn's Guile 1.4 series.  When this
> works out, I want to also install this in the 1.6 series.
> 
> What do you all think?

Looks good.  Also reminds me of an extension to @ or @@ that I was going 
to ask about.  Namely, so as to allow lookups within the environment of 
a closure.

So, for example, with

(define (xxx . args)
   (define (internal-proc x y z)
     ...)
   ...)

one could reference the procedure for "internal-proc" as

   (@@ (MODULE NAME) xxx internal-proc)

Probably only useful for debugging - i.e. it would make it possible to 
set a breakpoint on internal-proc - and other kinds of introspection, 
but what do you think?

(I also realize that what I've suggested doesn't really fit @/@@, 
because @/@@ currently return variables, and internal-proc in this case 
only exists as an ILOC.  But perhaps you can see a way round this?)

Regards,
	Neil


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


  reply	other threads:[~2005-01-14 23:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-14 16:33 Making the -e option compatible with new versions of Guile 1.4 Marius Vollmer
2005-01-14 23:39 ` Neil Jerram [this message]
2005-01-17 17:10   ` Marius Vollmer
2005-01-17 19:32     ` Neil Jerram
2005-01-17 19:43       ` Marius Vollmer
2005-01-17 22:28         ` Neil Jerram

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=41E8581C.4050408@ossau.uklinux.net \
    --to=neil@ossau.uklinux.net \
    --cc=guile-user@gnu.org \
    /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).