From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.user Subject: Re: dynamic module creation Date: Sun, 01 Feb 2009 19:29:22 +0000 Message-ID: <8763juklbh.fsf@arudy.ossau.uklinux.net> References: <2bc5f8210901312358v1f341027qb973b92a5c9d496b@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1233516795 8089 80.91.229.12 (1 Feb 2009 19:33:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 Feb 2009 19:33:15 +0000 (UTC) Cc: Andy Wingo , guile-user To: Julian Graham Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Feb 01 20:34:28 2009 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.50) id 1LTi5J-0003Mc-89 for guile-user@m.gmane.org; Sun, 01 Feb 2009 20:34:25 +0100 Original-Received: from localhost ([127.0.0.1]:58743 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LTi40-0005aO-F4 for guile-user@m.gmane.org; Sun, 01 Feb 2009 14:33:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LTi0W-00045e-P2 for guile-user@gnu.org; Sun, 01 Feb 2009 14:29:28 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LTi0V-00045A-TM for guile-user@gnu.org; Sun, 01 Feb 2009 14:29:28 -0500 Original-Received: from [199.232.76.173] (port=41880 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LTi0V-000452-FG for guile-user@gnu.org; Sun, 01 Feb 2009 14:29:27 -0500 Original-Received: from mail3.uklinux.net ([80.84.72.33]:51893) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LTi0V-0008LJ-4R for guile-user@gnu.org; Sun, 01 Feb 2009 14:29:27 -0500 Original-Received: from arudy (host86-157-180-39.range86-157.btcentralplus.com [86.157.180.39]) by mail3.uklinux.net (Postfix) with ESMTP id 79A601F6B06; Sun, 1 Feb 2009 19:29:23 +0000 (GMT) Original-Received: from arudy.ossau.uklinux.net (arudy [127.0.0.1]) by arudy (Postfix) with ESMTP id C0BC638012; Sun, 1 Feb 2009 19:29:22 +0000 (GMT) In-Reply-To: (Andy Wingo's message of "Sun\, 01 Feb 2009 13\:04\:48 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 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:7131 Archived-At: Andy Wingo writes: > On Sun 01 Feb 2009 08:58, Julian Graham writes: > >> Is there some way to get the module-creation >> behavior of `resolve-module' but also be able to include stuff from >> other modules in the resulting environment? > > guile> (resolve-module '(foo)) > $1 = # > guile> (beautify-user-module! $1) > $2 = (#) > guile> (module-ref $1 'sin) > $3 = # > guile> And for an example of this, see `use-elisp-file' in lang/elisp/interface.scm. Neil