[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: defining new character names?

From: Matthias Koeppe
Subject: Re: defining new character names?
Date: Tue, 27 Aug 2002 17:09:44 +0200
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1.80 (sparc-sun-solaris2.7)

address@hidden 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
>>    (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


Matthias Köppe --

reply via email to

[Prev in Thread] Current Thread [Next in Thread]