From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marek Kubica Newsgroups: gmane.lisp.guile.user Subject: Re: Modules Date: Sat, 29 Jan 2011 19:37:43 +0100 Message-ID: <20110129193743.753637d6@halmanfloyd> References: <20101208124502.5f25b64d@halmanfloyd> <20110129131315.506f1e8c@halmanfloyd> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1296326578 25329 80.91.229.12 (29 Jan 2011 18:42:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 29 Jan 2011 18:42:58 +0000 (UTC) Cc: guile-user@gnu.org To: Andy Wingo Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sat Jan 29 19:42:53 2011 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PjFl5-0000PX-D3 for guile-user@m.gmane.org; Sat, 29 Jan 2011 19:42:51 +0100 Original-Received: from localhost ([127.0.0.1]:48487 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PjFl4-0005mv-NH for guile-user@m.gmane.org; Sat, 29 Jan 2011 13:42:50 -0500 Original-Received: from [140.186.70.92] (port=54927 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PjFkU-0005TP-79 for guile-user@gnu.org; Sat, 29 Jan 2011 13:42:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PjFkS-0000yE-Kd for guile-user@gnu.org; Sat, 29 Jan 2011 13:42:14 -0500 Original-Received: from coaxial.xivilization.net ([178.63.18.39]:36170) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PjFkS-0000y3-C7 for guile-user@gnu.org; Sat, 29 Jan 2011 13:42:12 -0500 Original-Received: from ppp-93-104-109-226.dynamic.mnet-online.de ([93.104.109.226] helo=halmanfloyd) by coaxial.xivilization.net with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1PjFkQ-0007tK-Bi; Sat, 29 Jan 2011 19:42:10 +0100 In-Reply-To: X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; x86_64-unknown-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 178.63.18.39 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:8400 Archived-At: On Sat, 29 Jan 2011 18:04:14 +0100 Andy Wingo wrote: > For what purpose? If you are using modules, they are already in one > global namespace, the various roots of which are in the %load-path > and/or %load-compiled-path. (resolve-module '(foo bar)) should work > regardless of what file calls it. If I want to split my single-file script into multiple modules, they are not part of the global namespace and therefore I need a way to access them. regards, Marek