From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Pirotte Newsgroups: gmane.lisp.guile.user Subject: Re: #:getter procedure returns unexpected value in GOOPS Date: Sun, 27 Apr 2014 19:14:43 -0300 Message-ID: <20140427191443.70983470@capac> References: <87mwf9hu1v.fsf@nebulosa.milkyway> <877g6ccm4w.fsf@ossau.homelinux.net> <87a9b8hu46.fsf@nebulosa.milkyway> <20140426191909.3902016f@capac> <87fvkzhf4n.fsf@nebulosa.milkyway> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1398636928 18511 80.91.229.3 (27 Apr 2014 22:15:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Apr 2014 22:15:28 +0000 (UTC) Cc: guile-user@gnu.org To: "Diogo F. S. Ramos" Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Apr 28 00:15:21 2014 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WeXM0-0008G7-IS for guile-user@m.gmane.org; Mon, 28 Apr 2014 00:15:20 +0200 Original-Received: from localhost ([::1]:40717 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WeXLz-0004Az-VD for guile-user@m.gmane.org; Sun, 27 Apr 2014 18:15:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57849) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WeXLj-00046H-A0 for guile-user@gnu.org; Sun, 27 Apr 2014 18:15:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WeXLb-0001YS-QW for guile-user@gnu.org; Sun, 27 Apr 2014 18:15:03 -0400 Original-Received: from maximusconfessor.all2all.org ([79.99.200.102]:52447) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WeXLb-0001YO-KU for guile-user@gnu.org; Sun, 27 Apr 2014 18:14:55 -0400 Original-Received: from localhost (unknown [192.168.0.2]) by maximusconfessor.all2all.org (Postfix) with ESMTP id E0E51A04C120; Mon, 28 Apr 2014 00:14:54 +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 XL1TXDl6KM-O; Sun, 27 Apr 2014 23:56:35 +0200 (CEST) Original-Received: from capac (unknown [189.60.2.251]) by maximusconfessor.all2all.org (Postfix) with ESMTPSA id 85BBFA04C0F7; Mon, 28 Apr 2014 00:14:46 +0200 (CEST) In-Reply-To: <87fvkzhf4n.fsf@nebulosa.milkyway> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.23; 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.14 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-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:11239 Archived-At: Hello Diego, > > Imo, using your definitions, guile should return 'foo, not 42. > IMO it should return 'bar, as `foo-a' should return the value of the > slot `a', which in the subclass of is 'bar. I am sorry, I ment no-applicable-method, I'll answer Mark's answer to explain why. David