From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Todd Newsgroups: gmane.lisp.guile.user Subject: Re: First look at Guile Std Library available Date: Tue, 6 Jan 2004 14:42:12 -0600 Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Message-ID: <20040106204212.GB346@Richard-Todds-Computer.local> References: <20040102052128.GA16849@Richard-Todds-Computer.local> <200401031320.00884.clinton@unknownlamer.org> <20040104020218.GB677@Richard-Todds-Computer.local> Reply-To: Richard Todd NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0473154190==" X-Trace: sea.gmane.org 1073423266 12462 80.91.224.253 (6 Jan 2004 21:07:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Jan 2004 21:07:46 +0000 (UTC) Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Jan 06 22:07:36 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 1AdyQK-0004y4-00 for ; Tue, 06 Jan 2004 22:07:36 +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 1AdzAR-0008RN-FU for guile-user@m.gmane.org; Tue, 06 Jan 2004 16:55:15 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1Adz3p-0004fH-TN for guile-user@gnu.org; Tue, 06 Jan 2004 16:48:25 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1Adz3B-0004O5-3q for guile-user@gnu.org; Tue, 06 Jan 2004 16:48:17 -0500 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1Adyzu-0002mx-Rb for guile-user@gnu.org; Tue, 06 Jan 2004 16:44:22 -0500 Original-Received: from [66.171.154.97] (helo=Richard-Todds-Computer.local) by mx20.gnu.org with esmtp (Exim 4.24) id 1Ady1n-0000vb-8O for guile-user@gnu.org; Tue, 06 Jan 2004 15:42:15 -0500 Original-Received: by Richard-Todds-Computer.local (Postfix, from userid 501) id B812A82406; Tue, 6 Jan 2004 14:42:12 -0600 (CST) Original-To: guile-user@gnu.org In-Reply-To: <20040104020218.GB677@Richard-Todds-Computer.local> User-Agent: Mutt/1.4i 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:2547 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:2547 --===============0473154190== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gatW/ieO32f1wygP" Content-Disposition: inline --gatW/ieO32f1wygP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 03, 2004 at 08:02:18PM -0600, Richard Todd wrote: > On Sat, Jan 03, 2004 at 01:19:49PM -0500, Clinton Ebadi wrote: > > Grep the slib sources for all instances of "provide" and then generate = a new=20 > > file "std/slib/symbol-that-is-provided.scm" that does a (use-modules (i= ce-9=20 > > slib)), does a (require 'symbol-that-is-provided) and then exports all = the=20 > > symbols in the current model to the outside world=20 >=20 >=20 > > (set-module-uses! %module-public-interface > > (list (nested-ref the-root-module '(app modules std s= lib=20 > > symbol-that-is-provided)))) >=20 > I'm not familiar with the set-module-uses! interface, so I'm not sure > what you are getting at there. The guile info pages seem to be silent > on them as well. Any hints? >=20 I'm going to start investigating this in the guile code taday, but I though= t=20 I'd ask again in case someone can just tell me: What does that set-module-u= ses!=20 expression quoted above mean? I assume this is attempting to export the sl= ib=20 functions that were just 'require'd, right? When I tried it verbatim (exce= pt for symbol-that-is-provided, of course!) guile freaked out on me. Richard --gatW/ieO32f1wygP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (Darwin) iD8DBQE/+x2ka9lhNGIqsRIRAofWAJ45I3mv0POmMeEXZxlfPHSIOqaUAwCfZ7Ch USPhm00nhRgDOe/HGNm7jzw= =hxcd -----END PGP SIGNATURE----- --gatW/ieO32f1wygP-- --===============0473154190== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user --===============0473154190==--