[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: re-using a module

From: Viktor Pavlenko
Subject: Re: re-using a module
Date: Wed, 31 Mar 2004 20:01:43 -0500

>>>>> "TTN" == Thien-Thi Nguyen <address@hidden> writes:

    TTN>  [...]

    TTN> there is a work in progress module (ice-9 gumm), snapshot at:


    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 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:

guile> (use-modules (ice-9 null))
guile> (local-remove '(app modules ice-9 null))
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

It would be cool if there was a way to reload modules too.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]