From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: rm@fabula.de Newsgroups: gmane.lisp.guile.devel Subject: Re: Smart variables, dumb variables Date: Tue, 20 Aug 2002 14:01:14 +0200 Sender: guile-devel-admin@gnu.org Message-ID: <20020820120114.GA22160@www> References: <877kittbdr.fsf@zagadka.ping.de> <20020814210634.GA7220@www> <871y91taen.fsf@zagadka.ping.de> <20020815080643.GA8225@www> <87hehwqdwr.fsf@zagadka.ping.de> <20020815172709.GA9304@www> <87y9b7q56j.fsf@zagadka.ping.de> <20020815200255.GA9588@www> <87n0rnq4am.fsf@zagadka.ping.de> <877kimxwab.fsf@zagadka.ping.de> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1029844089 1332 127.0.0.1 (20 Aug 2002 11:48:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 20 Aug 2002 11:48:09 +0000 (UTC) Cc: rm@fabula.de, tomas@fabula.de, guile-devel@gnu.org Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17h7UU-0000L1-00 for ; Tue, 20 Aug 2002 13:48:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17h7VZ-000487-00; Tue, 20 Aug 2002 07:49:13 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17h7Uk-00040A-00 for guile-devel@gnu.org; Tue, 20 Aug 2002 07:48:22 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17h7Uh-0003zj-00 for guile-devel@gnu.org; Tue, 20 Aug 2002 07:48:21 -0400 Original-Received: from www.elogos.de ([212.18.192.92]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17h7Uh-0003zS-00 for guile-devel@gnu.org; Tue, 20 Aug 2002 07:48:19 -0400 Original-Received: by www.elogos.de (Postfix, from userid 5001) id 38B0E104902; Tue, 20 Aug 2002 14:01:14 +0200 (CEST) Original-To: Marius Vollmer Content-Disposition: inline In-Reply-To: <877kimxwab.fsf@zagadka.ping.de> User-Agent: Mutt/1.3.24i Errors-To: guile-devel-admin@gnu.org X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.devel:1125 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:1125 On Tue, Aug 20, 2002 at 01:29:16AM +0200, Marius Vollmer wrote: > Marius Vollmer writes: > > > rm@fabula.de writes: > > > > > > Should it print # from the start? > > > > > > Since it actually _is_ a generic from the start, yes, i think it should. > > > > Ok, agreed. Objections? > > Done. Allmost, if i might say so ;-) *--------------------------------------------------------------------------- | | ralf@calvin:~$ guile | guile> (use-modules (oop goops)) | guile> (class-of +) | #< 808f6f0> | guile> (define-method (+ (a ) (b )) (string-append a b)) | guile> (class-of +)guile> (class-of +) | #< 808f690> | guile> ralf@calvin:~$ exit | I don't know how easy this is to fix but this is the kind of code one might want to use to test whether '(define-generic foo)' has to be called. If the class of 'foo' only changes to 'primitve-generic' after a call to 'define-method' that doesn't really help, or? Ralf But thank's anyway. > > -- > GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405 > > > _______________________________________________ > Guile-devel mailing list > Guile-devel@gnu.org > http://mail.gnu.org/mailman/listinfo/guile-devel _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel