From: David Kastrup <dak@gnu.org>
To: guile-devel@gnu.org
Subject: What's with `symbol-set!' is deprecated. Use the module system instead.
Date: Sun, 04 Dec 2011 16:37:42 +0100 [thread overview]
Message-ID: <8762hwmjp5.fsf@fencepost.gnu.org> (raw)
The module system documentation provides _no_ _clue_ _whatsoever_ about
how something like
(symbol-set! #f (string->symbol name) value)
could be replaced. In fact, the module system documentation provides
_no_ _clue_ _whatsoever_ how to actually access module variables short
of calling eval on little programs working with symbols.
I don't want to call eval for the simple act of setting a symbol to a
value.
The funny thing is that symbol-fset! and symbol-pset! are documented.
But nothing whatsoever that could set a symbol value itself on a symbol
that has been generated.
What's up with that?
--
David Kastrup
next reply other threads:[~2011-12-04 15:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-04 15:37 David Kastrup [this message]
2011-12-04 16:01 ` What's with `symbol-set!' is deprecated. Use the module system instead David Kastrup
2011-12-05 8:11 ` David Kastrup
2011-12-05 14:54 ` Andy Wingo
2012-01-06 23:47 ` Andy Wingo
2012-01-07 9:10 ` David Kastrup
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=8762hwmjp5.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).