From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Matthias Koeppe Newsgroups: gmane.lisp.guile.user Subject: Re: defining new character names? Date: Tue, 27 Aug 2002 17:09:44 +0200 Sender: guile-user-admin@gnu.org Message-ID: References: <20020819100733.GA6177@sim.no> <871y8uxvyd.fsf@zagadka.ping.de> <200208200340.g7K3e7I01435@fcs9.free-comp-shop.com> <20020821081209.GB31070@sim.no> <20020821095422.GC23971@www> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1030460953 5781 127.0.0.1 (27 Aug 2002 15:09:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 27 Aug 2002 15:09:13 +0000 (UTC) Cc: "Lars J. Aas" , Keith Wright , mvo@zagadka.ping.de, guile-user@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 17jhxv-0001Ul-00 for ; Tue, 27 Aug 2002 17:09:11 +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 17jhz6-0001X9-00; Tue, 27 Aug 2002 11:10:24 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17jhyh-0001Ub-00 for guile-user@gnu.org; Tue, 27 Aug 2002 11:09:59 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17jhyZ-0001UP-00 for guile-user@gnu.org; Tue, 27 Aug 2002 11:09:58 -0400 Original-Received: from saturn.math.uni-magdeburg.de ([141.44.75.38]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17jhyZ-0001UL-00 for guile-user@gnu.org; Tue, 27 Aug 2002 11:09:51 -0400 Original-Received: from beta.math.uni-magdeburg.de (beta [141.44.75.78]) by saturn.math.uni-magdeburg.de (8.11.6/8.11.6) with ESMTP id g7RF9kX28098; Tue, 27 Aug 2002 17:09:46 +0200 (MET DST) Original-Received: (from mkoeppe@localhost) by beta.math.uni-magdeburg.de (8.10.2+Sun/8.10.2) id g7RF9ij23538; Tue, 27 Aug 2002 17:09:44 +0200 (MEST) X-Authentication-Warning: beta.math.uni-magdeburg.de: mkoeppe set sender to mkoeppe@mail.math.uni-magdeburg.de using -f Original-To: rm@fabula.de In-Reply-To: <20020821095422.GC23971@www> (rm@fabula.de's message of "Wed, 21 Aug 2002 11:54:22 +0200") Original-Lines: 22 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1.80 (sparc-sun-solaris2.7) Errors-To: guile-user-admin@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.user:855 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:855 rm@fabula.de writes: > On Wed, Aug 21, 2002 at 10:51:38AM +0200, Matthias Koeppe wrote: >> If you want to create a named constant, you simply do >>=20 >> (define error-message "Error") >> (define scaled-pi 314159265) > > No. 'error-message' is not constant after that: > > (set! error-message 'moep?) Don't do that then. (What was your point?) A named constant simply is a variable that you promise not to change. I proposed a DEFINE-CONSTANT special form that makes the promise more explicit. Regards, --=20 Matthias K=F6ppe -- http://www.math.uni-magdeburg.de/~mkoeppe _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user