From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jan Wedekind Newsgroups: gmane.lisp.guile.user Subject: Re: GOOPS class printing Date: Wed, 23 Feb 2022 21:48:10 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10514"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: K-9 Mail for Android To: guile-user@gnu.org, Mike Gran Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Wed Feb 23 22:48:58 2022 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nMzVK-0002Up-HO for guile-user@m.gmane-mx.org; Wed, 23 Feb 2022 22:48:58 +0100 Original-Received: from localhost ([::1]:38890 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nMzVJ-0006eH-JN for guile-user@m.gmane-mx.org; Wed, 23 Feb 2022 16:48:57 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50208) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nMzUn-0006e6-8I for guile-user@gnu.org; Wed, 23 Feb 2022 16:48:25 -0500 Original-Received: from wp424.webpack.hosteurope.de ([80.237.133.193]:35426) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nMzUl-0002eN-0F for guile-user@gnu.org; Wed, 23 Feb 2022 16:48:24 -0500 Original-Received: from host86-166-41-207.range86-166.btcentralplus.com ([86.166.41.207] helo=[127.0.0.1]); authenticated by wp424.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1nMzUd-0003KA-Ke; Wed, 23 Feb 2022 22:48:15 +0100 In-Reply-To: X-bounce-key: webpack.hosteurope.de;jan@wedesoft.de;1645652903;21dbaba0; X-HE-SMSGID: 1nMzUd-0003KA-Ke Received-SPF: none client-ip=80.237.133.193; envelope-from=jan@wedesoft.de; helo=wp424.webpack.hosteurope.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:18138 Archived-At: You can define the write and display methods for a metaclass=2E Also see my= article on inspection and metaclasses: https://www=2Ewedesoft=2Ede/software/2014/03/02/oop-with-goops/ Kind regards Jan On 23 February 2022 21:43:50 GMT, Mike Gran wrote: >Hello all- > >If I define a GOOPS class like so=2E=2E=2E > > (use-modules (oop goops)) > (define-class ()) > > =20 >When it is printed, it has a long hex string in it > > $2 =3D #< 7fa3d9a5bc80> > >Is there a way to change how a class prints itself so that >it does not have a hex string? So that it is just > > #< > > >or something similar? > >Thanks, >Mike Gran > > --=20 Diese Nachricht wurde von meinem Android-Ger=C3=A4t mit K-9 Mail gesendet= =2E