From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.user Subject: Re: GOOPS: Customizing class instantiation Date: Thu, 28 Sep 2006 09:50:12 +0100 Message-ID: <87lko474u3.fsf@ossau.uklinux.net> References: <87psdjnig5.fsf@laas.fr> <87irj9witv.fsf@laas.fr> 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: sea.gmane.org 1159433453 24114 80.91.229.2 (28 Sep 2006 08:50:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 28 Sep 2006 08:50:53 +0000 (UTC) Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Sep 28 10:50:50 2006 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GSrbC-0007Ep-5c for guile-user@m.gmane.org; Thu, 28 Sep 2006 10:50:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GSrbB-0002mV-HM for guile-user@m.gmane.org; Thu, 28 Sep 2006 04:50:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GSrb3-0002iM-2s for guile-user@gnu.org; Thu, 28 Sep 2006 04:50:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GSrb1-0002fK-Ly for guile-user@gnu.org; Thu, 28 Sep 2006 04:50:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GSrb0-0002ef-Lx for guile-user@gnu.org; Thu, 28 Sep 2006 04:50:19 -0400 Original-Received: from [80.84.72.33] (helo=mail3.uklinux.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GSrg3-0003eo-Gr for guile-user@gnu.org; Thu, 28 Sep 2006 04:55:31 -0400 Original-Received: from laruns (host86-145-154-50.range86-145.btcentralplus.com [86.145.154.50]) by mail3.uklinux.net (Postfix) with ESMTP id 91AD540A852 for ; Thu, 28 Sep 2006 08:50:17 +0000 (UTC) Original-Received: from laruns (laruns [127.0.0.1]) by laruns (Postfix) with ESMTP id BA1EE6FF8C for ; Thu, 28 Sep 2006 09:50:12 +0100 (BST) Original-To: Guile-User In-Reply-To: <87irj9witv.fsf@laas.fr> ( =?iso-8859-1?q?Ludovic_Court=E8s's_message_of?= "Wed, 27 Sep 2006 15:16:28 +0200") User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:5558 Archived-At: ludovic.courtes@laas.fr (Ludovic Court=E8s) writes: > In short, the lesson is: one should use `make-class' (although > it's undocumented) rather than `(make ...)' when instantiating a > new class. Apologies for not playing earlier, but for the record I agree that this is the right answer. The GOOPS code has make-xxx procedures that can be used programmatically for all the important things (classes, methods, generics etc.), and the define-xxx macros that we mostly use are wrappers around these. One final thought: recommend changing to (if you still need it, given make-class). Regards, Neil _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user