From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: %module-public-interface Date: Tue, 30 Mar 2010 22:45:53 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1269981966 30449 80.91.229.12 (30 Mar 2010 20:46:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 30 Mar 2010 20:46:06 +0000 (UTC) To: guile-devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Mar 30 22:45:58 2010 Return-path: Envelope-to: guile-devel@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 1NwiJx-0002KJ-Fc for guile-devel@m.gmane.org; Tue, 30 Mar 2010 22:45:57 +0200 Original-Received: from localhost ([127.0.0.1]:35791 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NwiJw-0001FS-UW for guile-devel@m.gmane.org; Tue, 30 Mar 2010 16:45:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NwiIJ-0008Bi-RB for guile-devel@gnu.org; Tue, 30 Mar 2010 16:44:15 -0400 Original-Received: from [140.186.70.92] (port=45244 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NwiIE-00088J-DL for guile-devel@gnu.org; Tue, 30 Mar 2010 16:44:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NwiIC-0006CM-Tp for guile-devel@gnu.org; Tue, 30 Mar 2010 16:44:10 -0400 Original-Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:60566 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NwiIC-0006CF-OC for guile-devel@gnu.org; Tue, 30 Mar 2010 16:44:08 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 10E00A611E for ; Tue, 30 Mar 2010 16:44:07 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to :subject:date:message-id:mime-version:content-type; s=sasl; bh=X MUbN0EcvMupasTpcosm53hE4zY=; b=RIhSuDC9+52sy48gI9hbfduN5oRC0QzTd JFr6LAyBJKUXkmFNXGzFs156kFjq7yImf7chiu9kq9mLWmic1m15XSIoX0ShLp9N pErYVAODhFMGEo/8B0GUnCRLz2TNEt6bZbDCDdN+GZnyUYwwvxr57ml8Mq0IE6tU /nhPrntcpw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:subject :date:message-id:mime-version:content-type; q=dns; s=sasl; b=h9c WjmAwTWn2AJRqLcWkEaVbtvWRUDmu27cEDt6Yam1Aaf74xVp1vWJ3zWQp/VzT7xU DREQ6ZqYjvb2lrT/VtkZfgaf8+F2NHTQ7XJGDVyv6o2maPvwoYP/yyA2eMdAOZfD S3lHTqueOoW5hZF/7jjWMWyDiGKpjDb53DZtIEVE= Original-Received: from a-pb-sasl-quonix. (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 2018CA611A for ; Tue, 30 Mar 2010 16:44:05 -0400 (EDT) Original-Received: from unquote (unknown [81.39.160.13]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id DDEABA6115 for ; Tue, 30 Mar 2010 16:44:02 -0400 (EDT) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) X-Pobox-Relay-ID: FAF37286-3C3C-11DF-834E-D033EE7EF46B-02397024!a-pb-sasl-quonix.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:10121 Archived-At: Hello, As you might well know, in every module that actually has a public interface (most all of them), there is an extra symbol bound in that module: %module-public-interface. It references, um, the public interface. Also in every module that has submodules, like (language tree-il) and (language tree-il compile-glil), the "supermodule" has a binding for the submodule. Do a (module-ref (resolve-module '(ice-9)) 'threads) sometime. It is, as my southern-US family would say, "turrible". But somehow it normally doesn't affect us. I'm pretty sure that the submodule thing can be changed without any problem. But it seems that the %module-public-interface is used explicitly, at least by texmacs and lilypond. Any ideas on what the right thing to do is? Just leave it? Add fields to modules for the public interface and submodules, but keep the %module-public-interface binding? Throw up our hands and dance around? Let me know, Andy -- http://wingolog.org/