From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Viktor Pavlenko Newsgroups: gmane.lisp.guile.user Subject: Re: re-using a module Date: Wed, 31 Mar 2004 20:01:43 -0500 Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Message-ID: <16491.27127.884552.112594@hetman.ua> References: <20040330172736.KQOK396979.fep03-mail.bloor.is.net.cable.rogers.com@localhost> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1080781341 10900 80.91.224.253 (1 Apr 2004 01:02:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 1 Apr 2004 01:02:21 +0000 (UTC) Cc: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Apr 01 03:02:15 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B8qb1-0001TQ-00 for ; Thu, 01 Apr 2004 03:02:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B8qaS-0000Qa-Dl for guile-user@m.gmane.org; Wed, 31 Mar 2004 20:01:40 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B8qZv-0000Dt-NK for guile-user@gnu.org; Wed, 31 Mar 2004 20:01:07 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B8qZF-00083L-9q for guile-user@gnu.org; Wed, 31 Mar 2004 20:00:56 -0500 Original-Received: from [24.156.166.210] (helo=hetman.ua) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B8qZE-00082g-Oy for guile-user@gnu.org; Wed, 31 Mar 2004 20:00:25 -0500 Original-Received: by hetman.ua (Postfix, from userid 1000) id F11755C2E7; Wed, 31 Mar 2004 20:01:43 -0500 (EST) Original-To: ttn@glug.org In-Reply-To: X-Mailer: VM 7.17 under Emacs 21.3.1 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.user:3033 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:3033 >>>>> "TTN" == Thien-Thi Nguyen 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