From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stephen Compall Newsgroups: gmane.lisp.guile.user Subject: Re: [Fwd: Req for help on objects and environments] Date: 02 Sep 2004 14:19:34 -0500 Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Message-ID: References: <1094123345.4412.5.camel@kuzgun> <20040902115316.GB30187@www> <1094129266.4098.25.camel@kuzgun> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1094152804 2496 80.91.224.253 (2 Sep 2004 19:20:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 2 Sep 2004 19:20:04 +0000 (UTC) Cc: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Sep 02 21:19:54 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C2x7i-0005iW-00 for ; Thu, 02 Sep 2004 21:19:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C2xCh-0005mh-0K for guile-user@m.gmane.org; Thu, 02 Sep 2004 15:25:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C2xCc-0005mS-NY for guile-user@gnu.org; Thu, 02 Sep 2004 15:24:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C2xCb-0005lP-4s for guile-user@gnu.org; Thu, 02 Sep 2004 15:24:58 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C2xCa-0005lM-UB for guile-user@gnu.org; Thu, 02 Sep 2004 15:24:56 -0400 Original-Received: from [192.195.228.35] (helo=csserver.evansville.edu) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1C2x7Q-0004vO-90 for guile-user@gnu.org; Thu, 02 Sep 2004 15:19:36 -0400 Original-Received: from csserver.evansville.edu (localhost.localdomain [127.0.0.1]) by csserver.evansville.edu (8.12.11/8.12.11) with ESMTP id i82JJZMO008152; Thu, 2 Sep 2004 14:19:35 -0500 Original-Received: (from sc87@localhost) by csserver.evansville.edu (8.12.11/8.12.11/Submit) id i82JJYSJ008149; Thu, 2 Sep 2004 14:19:34 -0500 X-Authentication-Warning: csserver.evansville.edu: sc87 set sender to s11@member.fsf.org using -f Original-To: =?utf-8?b?QWxwIMOWenRhcmhhbg==?= In-Reply-To: <1094129266.4098.25.camel@kuzgun> Original-Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 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: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.user:3426 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:3426 Alp =C3=96ztarhan writes: > Now this is a different way of giving properties. After these,=20 > object-properties gives an empty alist. So given the documentation, I=20 > thought I should use "the new way". If I cannot find out how, then=20 > maybe I should use "the old way" :-) Object properties are kept in `scm_properties_whash'. Properties are not named; internally, they are just pairs, almost always (#f . ()). They are identified by their uniqueness eq?-wise. Only the returned proc-with-setter has access to this pair, through its environment. The only meaningful name is that which you assign to it. If you want names, associate them with the proc-with-setters somehow. Keep your own alist of names to values. Whatever. -- Stephen Compall or s11 or sirian It is a human characteristic to love little animals, especially if they're attractive in some way. -- McCoy, "The Trouble with Tribbles", stardate 4525.6 Dateline monarchist BLU-97 A/B passwd FTS2000 Delta Force MD4 Sears Tower domestic disruption radar S Box ASLET JPL electronic surveillance New World Order _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user