From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.devel Subject: Re: Smart variables, dumb variables Date: 17 Aug 2002 12:59:41 +0100 Sender: guile-devel-admin@gnu.org Message-ID: References: <20020814080715.GA6068@www> <87fzxhteri.fsf@zagadka.ping.de> <20020814202831.GA7443@www> <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> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1029737623 11326 127.0.0.1 (19 Aug 2002 06:13:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 19 Aug 2002 06:13:43 +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 17gfnJ-0002w9-00 for ; Mon, 19 Aug 2002 08:13:41 +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 17gfoP-0006vk-00; Mon, 19 Aug 2002 02:14:49 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17gfn1-0006sl-00 for guile-devel@gnu.org; Mon, 19 Aug 2002 02:13:23 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17gfmz-0006sS-00 for guile-devel@gnu.org; Mon, 19 Aug 2002 02:13:23 -0400 Original-Received: from mail.uklinux.net ([80.84.72.21] helo=s1.uklinux.net) by monty-python.gnu.org with esmtp (Exim 4.10) id 17gfmz-0006s4-00 for guile-devel@gnu.org; Mon, 19 Aug 2002 02:13:21 -0400 Original-Received: from portalet.ossau.uklinux.net (ppp-0-85.lond-b-1.access.uk.tiscali.com [80.40.0.85]) by s1.uklinux.net (8.11.6/8.11.6) with ESMTP id g7J6D1T13801; Mon, 19 Aug 2002 07:13:02 +0100 Original-Received: from laruns.ossau.uklinux.net.ossau.uklinux.net (laruns.ossau.uklinux.net [192.168.1.3]) by portalet.ossau.uklinux.net (Postfix on SuSE Linux 7.2 (i386)) with ESMTP id BE2671716; Sat, 17 Aug 2002 13:04:47 +0000 (GMT) Original-To: Marius Vollmer Original-Lines: 29 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 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:1115 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:1115 >>>>> "Marius" == Marius Vollmer writes: Marius> rm@fabula.de writes: >> > Should it print # from the start? >> >> Since it actually _is_ a generic from the start, yes, i think it should. Marius> Ok, agreed. Objections? Sounds OK. Eventually, though, I presume what we _really_ want is for _all_ Guile procedures to be generic. Once we achieve this, it will no longer signify anything to say # rather than #, because there won't be any non-generic procedures left. >> Of course, what i'm really after is a test like 'generic? foo' so that >> i can write a macro that does what i think guile should do. Make 'foo' >> a generic iff it's not one allready. Marius> You can't really do that I think. You can't change a procedure into a Marius> generic function. What you can do is change the value of a variable Marius> to point to a new function, which is generic. But maybe that is what Marius> you want. Sure? I think that subrs at least are made generic by filling in a preexisting slot in the subr structure; variable binding doesn't need to change. Neil _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel