Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

BOFH excuse #272: Netscape has crashed


comp / comp.lang.scheme / Re: defining self-evaluating objects

SubjectAuthor
o Re: defining self-evaluating objectsHenHanna

1
Subject: Re: defining self-evaluating objects
From: HenHanna
Newsgroups: comp.lang.lisp, comp.lang.scheme
Organization: novaBBS
Date: Mon, 21 Oct 2024 22:36 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: HenHanna@dev.null (HenHanna)
Newsgroups: comp.lang.lisp,comp.lang.scheme
Subject: Re: defining self-evaluating objects
Date: Mon, 21 Oct 2024 22:36:08 +0000
Organization: novaBBS
Message-ID: <245b3f586d6d45b8d64786399ec4d3f5@www.novabbs.com>
References: <m3y1mxhx40.fsf@carbon.jhcloos.org> <3a49a944-1114-4ffc-8127-e37fbff684d3n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="3093767"; mail-complaints-to="usenet@i2pn2.org";
posting-account="4L8HabKtc1alsSAOmk7EUGDHKRhgGhC+6gJMfTsJB0A";
User-Agent: Rocksolid Light
X-Rslight-Site: $2y$10$EmQLa0vBQ.PIqc.bIQ6jBOF9HXEM2jwYS9PtNidfD4m.SwHCK9FQG
X-Rslight-Posting-User: abae1fed5a82111a8790dc84735f550edb4392db
X-Face: P#KeQ)CUdd!==@fw~Ms1=,Hb`IWtb6:Mw)x3B=H1BfNC\lz?Nb&)M9}$>?'X7l;CuB}utlJ=PHsRBSG6X>dYZ$[>P]$~+`>@V6$t}hTLoQ7XC~W\>:`B3ALU]SH;d(\MEc}znW8m}-ma&yPFkJ2@KSQrz=!Y;><;6a>z6N+mt`ClCt.PAE<o+B$qjwejZSZ,w]^;vrdl24z5(pm={l,F10qRDF
X-Spam-Checker-Version: SpamAssassin 4.0.0
View all headers

On Thu, 13 Apr 2023 1:15:33 +0000, Tom Russ wrote:

> On Wednesday, April 12, 2023 at 9:41:10 AM UTC-7, James Cloos wrote:
>> does cl support defining new self-evaluating objects
>> (other than keywords)?
>>
>> if so, how?
>
> What sort of "defining" did you have in mind.
> One simple answer (for symbols) would be:
> (defconstant foo 'foo)
>
> There may be other things you could do via reader macros.
> One example of that is https://github.com/lispm/measures [*], which
> defined
> numbers with dimensions and optional reader macros so that something
> like
> 35km or 18m/s2 would evaluate to equivalent objects, although not in an
> EQ sense.
>
>
>
> [* Software by Rainer Joswig that I extended while at ISI]

Do we have Defconstant in Scheme ???

1

rocksolid light 0.9.8
clearnet tor