From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Clinton Ebadi Newsgroups: gmane.lisp.guile.user Subject: Re: Interpreter Sessions (Newbie) Date: Mon, 24 Feb 2003 16:50:24 -0500 Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Message-ID: <200302241650.24519.clinton@unknownlamer.org> References: <200302221253.28371.clinton@unknownlamer.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1046123353 24112 80.91.224.249 (24 Feb 2003 21:49:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 24 Feb 2003 21:49:13 +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 18nQTG-0006GT-00 for ; Mon, 24 Feb 2003 22:49:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18nQS7-0004Yi-03 for guile-user@m.gmane.org; Mon, 24 Feb 2003 16:47:59 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18nQRZ-0004Sp-00 for guile-user@gnu.org; Mon, 24 Feb 2003 16:47:25 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18nQQx-0004HP-00 for guile-user@gnu.org; Mon, 24 Feb 2003 16:47:18 -0500 Original-Received: from out001pub.verizon.net ([206.46.170.140] helo=out001.verizon.net) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18nQQI-00048b-00 for guile-user@gnu.org; Mon, 24 Feb 2003 16:46:06 -0500 Original-Received: from vsynth ([151.196.173.221]) by out001.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030224214604.YSKF23484.out001.verizon.net@vsynth>; Mon, 24 Feb 2003 15:46:04 -0600 Original-Received: from clinton by vsynth with local (Exim 3.35 #1 (Debian)) id 18nQUT-0003XO-00; Mon, 24 Feb 2003 16:50:25 -0500 Original-To: prj@po.cwru.edu (Paul Jarc), User-Agent: KMail/1.4.2 In-Reply-To: X-Authentication-Info: Submitted using SMTP AUTH at out001.verizon.net from [151.196.173.221] at Mon, 24 Feb 2003 15:46:03 -0600 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: General Guile related discussions List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.user:1689 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:1689 On Monday 24 February 2003 11:39, Paul Jarc wrote: > Clinton Ebadi wrote: > > ;;; (make-module size uses-list) > > (define userid-module (make-module 1021 (list (resolve-module > > '(guile-user))))) > > Hm... I've been using resolve-interface here, not resolve-module. > Does it make a difference? They do different things: ;; `resolve-interface' takes two keyword arguments: ;; ;; #:select SELECTION ;; ;; SELECTION is a list of binding-specs to be imported; A binding-spec ;; is either a symbol or a pair of symbols (ORIG . SEEN), where ORIG ;; is the name in the used module and SEEN is the name in the using ;; module. Note that SEEN is also passed through RENAMER, below. The ;; default is to select all bindings. If you specify no selection but ;; a renamer, only the bindings that already exist in the used module ;; are made available in the interface. Bindings that are added later ;; are not picked up. ;; ;; #:renamer RENAMER ;; ;; RENAMER is a procedure that takes a symbol and returns its new ;; name. The default is to not perform any renaming. ;; ;; Signal "no code for module" error if module name is not resolvable ;; or its public interface is not available. Signal "no binding" ;; error if selected binding does not exist in the used module. resolve-module is used by resolve-interface to find the module and then l= oad=20 it. --=20 http://unknownlamer.org _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user