From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andreas Rottmann Newsgroups: gmane.lisp.guile.user Subject: Re: Do we have to worry about the names of generic functions? Date: Wed, 12 May 2004 22:34:49 +0200 Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Message-ID: <87wu3h2xli.fsf@ivanova.rotty.yi.org> References: <1084358048.15175.235.camel@localhost> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1084395634 18310 80.91.224.253 (12 May 2004 21:00:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 12 May 2004 21:00:34 +0000 (UTC) Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed May 12 23:00:13 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BO0pn-00059D-00 for ; Wed, 12 May 2004 23:00:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BO0hT-00010b-Gs for guile-user@m.gmane.org; Wed, 12 May 2004 16:51:35 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BO0eg-0008Vl-LV for guile-user@gnu.org; Wed, 12 May 2004 16:48:42 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BO0e9-0008JY-LH for guile-user@gnu.org; Wed, 12 May 2004 16:48:40 -0400 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BO0bH-0007Pc-3j for guile-user@gnu.org; Wed, 12 May 2004 16:45:11 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BO0bF-0001vH-00 for ; Wed, 12 May 2004 22:45:09 +0200 Original-Received: from chello080109053157.14.14.univie.teleweb.at ([80.109.53.157]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 May 2004 22:45:09 +0200 Original-Received: from a.rottmann by chello080109053157.14.14.univie.teleweb.at with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 May 2004 22:45:09 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: guile-user@gnu.org Original-Lines: 26 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: chello080109053157.14.14.univie.teleweb.at User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:BMETXkFNcPY+48OYCz/D5LLg6DY= X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.4 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:3166 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:3166 prj@po.cwru.edu (Paul Jarc) writes: > Andy Wingo wrote: >> Consider a generic, `output'. I assert that x.output() in Python does >> not clobber the namespace. > > Agreed, because that name exists only within "x.". > >> If output is a bound method, that means it will be invoked as >> output(x) -- exactly the same as (output x) in guile. > > Not exactly - generics sharing the same name don't conflict with each > other, but they can conflict with non-generics. (AIUI; my > understanding of GOOPS is rather limited.) > Yes, but when the non-generic are procedures, you can "upgrade" them: (define quit (ensure-generic quit)) Andy -- Andreas Rottmann | Rotty@ICQ | 118634484@ICQ | a.rottmann@gmx.at http://yi.org/rotty | GnuPG Key: http://yi.org/rotty/gpg.asc Fingerprint | DFB4 4EB4 78A4 5EEE 6219 F228 F92F CFC5 01FD 5B62 Make free software, not war! _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user