From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.devel Subject: Re: make-vtable Date: Wed, 14 Feb 2007 08:26:14 +1100 Message-ID: <877iulwxzd.fsf@zip.com.au> References: <877iunt6yl.fsf@zip.com.au> <87r6suv5k2.fsf@laas.fr> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1171402004 13625 80.91.229.12 (13 Feb 2007 21:26:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 13 Feb 2007 21:26:44 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Feb 13 22:26:38 2007 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.50) id 1HH5AY-0002tV-NG for guile-devel@m.gmane.org; Tue, 13 Feb 2007 22:26:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HH5AY-0001Ue-6n for guile-devel@m.gmane.org; Tue, 13 Feb 2007 16:26:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HH5AU-0001UG-Q8 for guile-devel@gnu.org; Tue, 13 Feb 2007 16:26:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HH5AT-0001Tc-2x for guile-devel@gnu.org; Tue, 13 Feb 2007 16:26:30 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HH5AS-0001TZ-Pz for guile-devel@gnu.org; Tue, 13 Feb 2007 16:26:28 -0500 Original-Received: from mailout1-8.pacific.net.au ([61.8.2.215] helo=mailout1.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HH5AS-00029p-8R for guile-devel@gnu.org; Tue, 13 Feb 2007 16:26:28 -0500 Original-Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.2.162]) by mailout1.pacific.net.au (Postfix) with ESMTP id 3696232820C for ; Wed, 14 Feb 2007 08:26:17 +1100 (EST) Original-Received: from localhost (ppp2A54.dyn.pacific.net.au [61.8.42.84]) by mailproxy1.pacific.net.au (Postfix) with ESMTP id A7B8E8C06 for ; Wed, 14 Feb 2007 08:26:16 +1100 (EST) Original-Received: from gg by localhost with local (Exim 4.63) (envelope-from ) id 1HH5AE-0001iX-Bo for guile-devel@gnu.org; Wed, 14 Feb 2007 08:26:14 +1100 Mail-Copies-To: never In-Reply-To: <87r6suv5k2.fsf@laas.fr> (Ludovic =?iso-8859-1?Q?Court=E8s's?= message of "Tue, 13 Feb 2007 09:13:17 +0100") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:6522 Archived-At: ludovic.courtes@laas.fr (Ludovic Court=E8s) writes: > > (let* ((vtable (make-vtable-vtable "pr" 0)) > (s1 (make-struct vtable 0 "hello")) > (s2 (make-struct vtable 0 "hello"))) > ;; S1 and S2 are both "regular" one-field structs. I know the "values" struct is doing exactly this, but I suspect it's abusing the vtable system. I suspect that what scm_init_stacks() in stacks.c is doing is normal (if there's such a thing as "normal"). > So I think it's even more confusing than it seems. ;-) Yep, very confusing :-). > I'd say that `make-vtable-vtable' is inappropriately named and should > really be `make-vtable'. Does that make sense? Perhaps we have an expert lurking here, but I think make-vtable-vtable does in fact do what its name suggests: make a vtable for creating vtables. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel