From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.devel Subject: Re: heads up: goops class export Date: Tue, 03 May 2011 14:19:43 +0200 Message-ID: <87sjswnfhc.fsf@gnu.org> References: <87r58gp3q2.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1304425197 7845 80.91.229.12 (3 May 2011 12:19:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 3 May 2011 12:19:57 +0000 (UTC) Cc: guile-devel@gnu.org To: Andy Wingo Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue May 03 14:19:54 2011 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QHEa1-0004Sx-CF for guile-devel@m.gmane.org; Tue, 03 May 2011 14:19:53 +0200 Original-Received: from localhost ([::1]:37302 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHEa0-0003pi-1b for guile-devel@m.gmane.org; Tue, 03 May 2011 08:19:52 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:43807) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHEZy-0003pc-0w for guile-devel@gnu.org; Tue, 03 May 2011 08:19:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QHEZx-0001mr-1U for guile-devel@gnu.org; Tue, 03 May 2011 08:19:49 -0400 Original-Received: from solo.fdn.fr ([80.67.169.19]:42707) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHEZw-0001ml-SM for guile-devel@gnu.org; Tue, 03 May 2011 08:19:49 -0400 Original-Received: from nixey (unknown [193.50.110.208]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) (Authenticated sender: lcourtes) by smtp.fdn.fr (Postfix) with ESMTPSA id 91C1B4407C; Tue, 3 May 2011 14:19:47 +0200 (CEST) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 14 =?iso-8859-1?Q?Flor=E9al?= an 219 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu In-Reply-To: (Andy Wingo's message of "Tue, 03 May 2011 11:31:20 +0200") User-Agent: Gnus/5.110017 (No Gnus v0.17) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 80.67.169.19 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:12418 Archived-At: Hello! Andy Wingo writes: > On Tue 03 May 2011 10:50, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > >> Andy Wingo writes: >> >>> Currently when you define a SMOB type or set a name on a vtable, a >>> corresponding class is automatically exported from (oop goops). This >>> breaks modularity, and I think we should stop doing it in 2.2. >> >> I agree that they should not be exported from (oop goops). >> >> However, how should GOOPS users access these classes then? There needs >> to be a way to get the class object associated with a SMOB type, for >> instance. > > Hum, a good question! Perhaps smob-name->class, Yes, why not. (It=E2=80=99s equivalent to (@@ (oop goops) foobar) in terms= of providing access to everyone, though.) Thanks, Ludo=E2=80=99.