From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: David Pirotte Newsgroups: gmane.lisp.guile.user Subject: Re: Modules and GOOPS Date: Sun, 31 Jul 2016 00:59:55 -0300 Message-ID: <20160731005955.6cb20e38@capac> References: <20160728181425.5f167237@capac> <87h9b8fho5.fsf@elektro.pacujo.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/gedazvS=lgVmIv2syWrVM92"; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1469937671 16768 80.91.229.8 (31 Jul 2016 04:01:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 31 Jul 2016 04:01:11 +0000 (UTC) Cc: guile-user@gnu.org To: Marko Rauhamaa Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Jul 31 06:00:57 2016 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bThvs-0004JU-Sg for guile-user@m.gmane.org; Sun, 31 Jul 2016 06:00:56 +0200 Original-Received: from localhost ([::1]:38312 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bThvo-0001uX-1J for guile-user@m.gmane.org; Sun, 31 Jul 2016 00:00:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56313) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bThvC-0001sO-1Z for guile-user@gnu.org; Sun, 31 Jul 2016 00:00:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bThv7-0002Eh-W2 for guile-user@gnu.org; Sun, 31 Jul 2016 00:00:13 -0400 Original-Received: from maximusconfessor.all2all.org ([79.99.200.102]:33479) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bThv7-0002C6-Pv for guile-user@gnu.org; Sun, 31 Jul 2016 00:00:09 -0400 Original-Received: from localhost (unknown [192.168.0.2]) by maximusconfessor.all2all.org (Postfix) with ESMTP id 094EEA04C10C; Sun, 31 Jul 2016 06:00:07 +0200 (CEST) Original-Received: from maximusconfessor.all2all.org ([192.168.0.1]) by localhost (maximusconfessor.all2all.org [192.168.0.2]) (amavisd-new, port 10024) with ESMTP id vLnc4t8AwBYS; Sun, 31 Jul 2016 06:00:02 +0200 (CEST) Original-Received: from capac (unknown [177.133.154.95]) by maximusconfessor.all2all.org (Postfix) with ESMTPSA id 4ADF8A04C10B; Sun, 31 Jul 2016 06:00:01 +0200 (CEST) In-Reply-To: <87h9b8fho5.fsf@elektro.pacujo.net> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 79.99.200.102 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:12810 Archived-At: --Sig_/gedazvS=lgVmIv2syWrVM92 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi R=C3=B3bert, > More generally, take a look at http://www.delorie.com/gnu/docs/guile/guile-tut_10.html> and how > MAKE-CELL has been defined. That's true OOP without classes or slots. IMO, this is exactly what you don't want. You'll find some answers to why = in the following article, if you are interested: CLOS: Integrating Object-Oriented and Functional Programming Richard P. Gabriel Lucid, Inc. Jon L White Lucid, Inc. Daniel G. Bobrow Xerox PARC May 3, 2004 I also suggest you read the Stklos Object System (on which Goops is based), online manual pages [1]: they are easier to read (then our Goops ref man) a= nd have some beginner examples (and some links (to a CLOS tutorial also): note that= Sklos=20 syntax is slightly different, but no big deal. David. [1] http://www.stklos.net/Doc/html/stklos-ref-8.html#STklos-Object-System http://www.aiai.ed.ac.uk/~jeff/clos-guide.html --Sig_/gedazvS=lgVmIv2syWrVM92 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJXnXe7AAoJEPN0/ZOjBXrXrlMIAJPW9plWjb/rSSXjL6RyrqHJ En4Iwcfd6nb+wco2flBW6jgwDvwm57YFC76RLn+ZJc4wHbse4mvicOFLQ4/KPQnj KNGm1LazpCic3r6b8ihinYDCRHZw3mFasvjqJ83NVa8syYjLpNt4uq9AAbEOK93W DSlPmZZNOfWOQqSutW96Qgz6KdrBQp2GcaHm/x8Xoucq2yaaUfPVvN/6OeA8Jx0m zoLw3ybTlGleV1ibeD0FucDzi5IeGvF14jlwi5MgoQelGR/wzt1FITHjNGyPOlun NKSsWn43pMoyQoWyFTG9Wfc7VXnK0iq3cDzJpBBZRXel2ln3haxZAjdrttZc1Wo= =WuFK -----END PGP SIGNATURE----- --Sig_/gedazvS=lgVmIv2syWrVM92--