From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Marius Vollmer Newsgroups: gmane.lisp.guile.user Subject: Re: loading a module via an absolute path Date: 19 Oct 2002 00:26:55 +0200 Sender: guile-user-admin@gnu.org Message-ID: <87adlb1iz4.fsf@zagadka.ping.de> References: <87vg4gl4g3.fsf@raven.i.defaultvalue.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1034980087 30303 80.91.224.249 (18 Oct 2002 22:28:07 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 18 Oct 2002 22:28:07 +0000 (UTC) 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 182fbB-0007sV-00 for ; Sat, 19 Oct 2002 00:28:05 +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 182faS-00073N-00; Fri, 18 Oct 2002 18:27:20 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 182fa1-0006wV-00 for guile-user@gnu.org; Fri, 18 Oct 2002 18:26:53 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 182fZx-0006v2-00 for guile-user@gnu.org; Fri, 18 Oct 2002 18:26:51 -0400 Original-Received: from mail.dokom.net ([195.253.8.218]) by monty-python.gnu.org with esmtp (Exim 4.10) id 182fZw-0006u3-00 for guile-user@gnu.org; Fri, 18 Oct 2002 18:26:48 -0400 Original-Received: from dialin.speedway43.dip26.dokom.de ([195.138.43.26] helo=zagadka.ping.de ident=qmailr) by mail.dokom.net with smtp (Exim 3.32 #2) id 182faN-00027Y-00 for guile-user@gnu.org; Sat, 19 Oct 2002 00:27:15 +0200 Original-Received: (qmail 12775 invoked by uid 1000); 18 Oct 2002 22:26:55 -0000 Original-To: guile-user@gnu.org In-Reply-To: Original-Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Errors-To: guile-user-admin@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.user:1209 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:1209 prj@po.cwru.edu (Paul Jarc) writes: > Is there any chance of extending use-modules (or providing a > cooperating procedure) to allow things like: > > (use-modules ("/path/to/foo.scm" :select ...)) Could you use the this? (load "/path/to/foo.scm") (use-modules (NAME :select ...)) This will require you to know the name of the module that is defined in foo.scm, but I find this to be actually cleaner, since files and modules are not the same. -- GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405 _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user