From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: tb@becket.net (Thomas Bushnell, BSG) Newsgroups: gmane.lisp.guile.devel Subject: Re: module trickery Date: 03 Sep 2002 15:11:40 -0700 Sender: guile-devel-admin@gnu.org Message-ID: <871y8ag1ur.fsf@becket.becket.net> References: <87elcibm29.fsf@becket.becket.net> <87y9apqtyt.fsf@zagadka.ping.de> <87ptw0ymph.fsf@becket.becket.net> <87wuq7kr79.fsf@zagadka.ping.de> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1031090925 20086 127.0.0.1 (3 Sep 2002 22:08:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 3 Sep 2002 22:08:45 +0000 (UTC) Cc: guile-devel@gnu.org Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17mLql-0005Dh-00 for ; Wed, 04 Sep 2002 00:08:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17mLsG-0001ri-00; Tue, 03 Sep 2002 18:10:16 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17mLrt-0001ps-00 for guile-devel@gnu.org; Tue, 03 Sep 2002 18:09:53 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17mLrr-0001pf-00 for guile-devel@gnu.org; Tue, 03 Sep 2002 18:09:52 -0400 Original-Received: from vp190174.reshsg.uci.edu ([128.195.190.174] helo=becket.becket.net) by monty-python.gnu.org with esmtp (Exim 4.10) id 17mLrq-0001pb-00 for guile-devel@gnu.org; Tue, 03 Sep 2002 18:09:50 -0400 Original-Received: from tb by becket.becket.net with local (Exim 3.35 #1 (Debian)) id 17mLtc-0004kl-00; Tue, 03 Sep 2002 15:11:40 -0700 Original-To: Marius Vollmer X-Reply-Permission: Posted or emailed replies to this message constitute permission for an emailed response. X-PGP-Fingerprint: 1F0A1E51 63 28 EB DA E6 44 E5 5E EC F3 04 26 4E BF 1A 92 X-Tom-Swiftie: "RTFM," Tom informed In-Reply-To: <87wuq7kr79.fsf@zagadka.ping.de> Original-Lines: 34 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Errors-To: guile-devel-admin@gnu.org X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.devel:1265 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:1265 Marius Vollmer writes: > tb@becket.net (Thomas Bushnell, BSG) writes: > > > I'm quite flexible here... anything that lets me set up the relevant > > module and do eval-in-module will be fine by me. Switching from > > Guile 1.4 to the latest 1.5 test release is not unacceptible, if it > > will really work. > > Here is something that works with 1.5.8 and CVS HEAD. I don't know > whether it works with the 1.4 series, tho. Is it similar enough to > what you are doing? Ok, I installed 1.5.8. Here's a simple failure case with very little trickery. Loading the following file causes an apparent infinite loop: (define-module (foo) :use-syntax (ice-9 syncase)) (define-syntax whoo! (syntax-rules () ((_ a b) (set! a b)))) (define-public (print-two) (let ((a 0)) (whoo! a 2) (display a))) (define-module (test)) (use-modules (foo)) (print-two) _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel