From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Rouben Rostamian" Newsgroups: gmane.lisp.guile.user Subject: specifying module with eval Date: Mon, 26 Jan 2004 19:28:46 -0500 Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Message-ID: <200401270028.i0R0SkAp025906@pc18.math.umbc.edu> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1075164000 28978 80.91.224.253 (27 Jan 2004 00:40:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 27 Jan 2004 00:40:00 +0000 (UTC) Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Jan 27 01:39:55 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 1AlHGk-0001yO-00 for ; Tue, 27 Jan 2004 01:39:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AlHES-0007zv-RO for guile-user@m.gmane.org; Mon, 26 Jan 2004 19:37:32 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AlHBp-0006xj-C4 for guile-user@gnu.org; Mon, 26 Jan 2004 19:34:49 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AlH5z-0005In-Cj for guile-user@gnu.org; Mon, 26 Jan 2004 19:29:18 -0500 Original-Received: from [130.85.145.85] (helo=pc18.math.umbc.edu) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1AlH5y-0005IQ-Ko for guile-user@gnu.org; Mon, 26 Jan 2004 19:28:46 -0500 Original-Received: from pc18.math.umbc.edu (localhost.localdomain [127.0.0.1]) by pc18.math.umbc.edu (8.12.8/8.12.8) with ESMTP id i0R0Skvs025908 for ; Mon, 26 Jan 2004 19:28:46 -0500 Original-Received: (from rouben@localhost) by pc18.math.umbc.edu (8.12.8/8.12.8/Submit) id i0R0SkAp025906 for guile-user@gnu.org; Mon, 26 Jan 2004 19:28:46 -0500 X-Mailer: Mail User's Shell (7.2.6 beta(5) 10/07/98) Original-To: guile-user@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.2 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:2724 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:2724 The Guile 1.6.4 documentation says: - Scheme Procedure: eval exp module - C Function: scm_eval (exp, module) Evaluate EXP, a list representing a Scheme expression, in the top-level environment specified by MODULE. While EXP is evaluated (using `primitive-eval'), MODULE is made the current module. The current module is reset to its previous value when EVAL returns. It is not clear to me how to specify a module name. What is the syntax for it? In other words, what do I put for "module-spec" in the expression (eval '(foo 12) module-spec) to refer to the desired module? -- Rouben Rostamian _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user