From: Viktor Pavlenko <vvp@rogers.com>
Cc: guile-user@gnu.org
Subject: Re: re-using a module
Date: Wed, 31 Mar 2004 20:01:43 -0500 [thread overview]
Message-ID: <16491.27127.884552.112594@hetman.ua> (raw)
In-Reply-To: <E1B8YZw-00074S-00@surf.glug.org>
>>>>> "TTN" == Thien-Thi Nguyen <ttn@surf.glug.org> writes:
TTN> [...]
TTN> there is a work in progress module (ice-9 gumm), snapshot at:
TTN> http://www.glug.org/snap/core-1-4/ice-9/gumm.scm
TTN> [...]
Thanks, I'll have a look.
TTN> in any case, i take your main point to be that load failures
TTN> should not result in inconsistent state in the first place;
TTN> particular approaches to working around this bug are of
TTN> secondary concern only. probably 1.4.1.99 will have a fix --
TTN> thanks for reminding me of this.
There is more to it. local-remove works only if the module haven't
been loaded. It's not possible to un-load a successfully loaded module
with it:
----------------------------------------------------------------->8
guile> (use-modules (ice-9 null))
guile> (local-remove '(app modules ice-9 null))
#f
guile> (use-modules (ice-9 null))
standard input:3:1: In expression (eval-case (# #) (else #)):
standard input:3:1: no code for module (ice-9 null)
ABORT: (misc-error)
Type "(backtrace)" to get more information or "(debug)" to enter the
debugger.
guile>
-----------------------------------------------------------------8<
It would be cool if there was a way to reload modules too.
--
Viktor
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user
next prev parent reply other threads:[~2004-04-01 1:01 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-30 17:27 re-using a module Viktor Pavlenko
2004-03-30 11:37 ` Issac Trotts
2004-03-31 5:47 ` Thien-Thi Nguyen
2004-04-01 1:01 ` Viktor Pavlenko [this message]
2004-04-01 5:12 ` Thien-Thi Nguyen
2004-04-03 5:17 ` Viktor Pavlenko
2004-04-03 5:38 ` Viktor Pavlenko
2004-04-01 5:21 ` Thien-Thi Nguyen
-- strict thread matches above, loose matches on Subject: below --
2004-03-30 18:33 Viktor Pavlenko
2004-03-30 15:34 Viktor Pavlenko
2004-03-30 15:50 ` Paul Jarc
2004-03-30 16:13 ` David Pirotte
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=16491.27127.884552.112594@hetman.ua \
--to=vvp@rogers.com \
--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).