Deutsch   English   Français   Italiano  
<87bjtr3cu4.fsf@lispclub.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Daniel Cerqueira <dan.list@lispclub.com>
Newsgroups: comp.lang.lisp
Subject: Re: Undefined in LISP
Date: Sun, 23 Mar 2025 16:56:35 +0000
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <87bjtr3cu4.fsf@lispclub.com>
References: <87ldsyatmd.fsf@lispclub.com> <vrlajl$2uuho$2@dont-email.me>
	<87ecyp9slp.fsf@lispclub.com> <vrnbpo$rkfk$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 23 Mar 2025 17:56:43 +0100 (CET)
Injection-Info: dont-email.me; posting-host="2776c521a1c9ad9eddfc976361338843";
	logging-data="2904291"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18JyvIzuJ4mhVrz1WLkkFhuAXbcEFfCa7U="
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:RRvjFtsb4/AnjHAihHphJZrgbSE=
	sha1:a4tpRA76x3Z2lrNEFjWFS2icAxI=
X-GDPR: no
Bytes: 2079

Lawrence D'Oliveiro <ldo@nz.invalid> writes:

> On Sat, 22 Mar 2025 12:07:14 +0000, Daniel Cerqueira wrote:
>
>> Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>> 
>>> On Fri, 21 Mar 2025 22:47:38 +0000, Daniel Cerqueira wrote:
>>>
>>>> I would like to know your thoughts, about what being undefined
>>>> actually is. Should an undefined expression be represented by a
>>>> symbol, or should an undefined expression be silent (without
>>>> returning a symbol)?
>>>
>>> Should an attempt to evaluate such an expression even terminate?
>> 
>> My opinion is that it should...
>
> So undefined behaviour cannot be really undefined, it must return some 
> kind of value we are going to arbitrarily name as “undefined”?

Does every LISP S-expression need to have a value (need to be
evaluated)?  Is atributing a symbol to undefined behaviour needed?

-- 
The pioneers of a warless world are the youth that
refuse military service. ~ Albert Einstein