From: David Kastrup <dak@gnu.org>
To: guile-devel@gnu.org
Subject: Re: Eval, tail calls, (current-module), and backward compatibility
Date: Sat, 21 Jan 2012 16:59:06 +0100 [thread overview]
Message-ID: <87ty3pjbcl.fsf@fencepost.gnu.org> (raw)
In-Reply-To: 87lip70zz7.fsf@netris.org
Mark H Weaver <mhw@netris.org> writes:
> Ideally, I think that `eval' should set (current-module) during
> expansion, but _not_ during evaluation. Then it can be properly tail
> recursive. However, some code out there might depend on the existing
> behavior, so I guess we can't change this, at least not in 2.0.
> Bummer.
It just occured to me that the _only_ way of getting and setting
variables under a computed name (apart from using macros) is using
(module-set! (current-module) (compute a symbol))
since symbol-set! apparently has been deprecated.
Not sure what the implications of that are.
--
David Kastrup
next prev parent reply other threads:[~2012-01-21 15:59 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-17 3:28 Eval, tail calls, (current-module), and backward compatibility Mark H Weaver
2012-01-17 11:02 ` David Kastrup
2012-01-17 21:02 ` Mark H Weaver
2012-01-18 9:36 ` Andy Wingo
2012-01-18 19:58 ` Mark H Weaver
2012-01-18 21:52 ` Andy Wingo
2012-01-18 21:18 ` Ludovic Courtès
2012-01-18 22:01 ` Andy Wingo
2012-01-18 22:21 ` Ludovic Courtès
2012-01-18 22:27 ` Andy Wingo
2012-01-18 22:47 ` Ludovic Courtès
2012-01-18 22:56 ` Andy Wingo
2012-01-21 15:59 ` David Kastrup [this message]
2012-01-21 18:28 ` Mark H Weaver
2012-01-21 18:33 ` David Kastrup
2012-01-21 19:06 ` Mark H Weaver
2012-01-23 10:41 ` Andy Wingo
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=87ty3pjbcl.fsf@fencepost.gnu.org \
--to=dak@gnu.org \
--cc=guile-devel@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).