[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Calling a function with undefined symbol
From: |
Emanuel Berg |
Subject: |
Re: Calling a function with undefined symbol |
Date: |
Sat, 05 Nov 2022 15:32:02 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Michael Heerdegen wrote:
>> (setq print-circle t)
>>
>> (setq x #1=(quote #1#))
>>
>> (eq 'x x) ; nil
>> (equal 'x x) ; nil
>>
>> ?
>
> I don't see any place in your code where a quote-quine is
> quoted. You correctly assign a quote-quine to a variable.
> But then you only quote the symbol, not the value, and
> compare the quote-quine with the symbol you had bound it to.
>
> IOW: It's a trap!
>
> So how could a correct `equal'ity test of a quote-quine and
> that quote-quine quoted be achieved?
Beats me!
Because quoting it will just add another level/layer of the
same, and in the same way, to something that is
already infinite.
(setq print-circle t)
(setq x #1=(quote #1#))
(equal x #1=(quote #1#)) ; t
(equal x (quote #1=(quote #1#))) ; t
(equal x (quote (quote #1=(quote #1#)))) ; and so on
So I give my tongue to the cat then?
--
underground experts united
https://dataswamp.org/~incal
- Re: Calling a function with undefined symbol, Michael Heerdegen, 2022/11/02
- Re: Calling a function with undefined symbol, Sam Steingold, 2022/11/02
- Re: Calling a function with undefined symbol, Michael Heerdegen, 2022/11/02
- Re: Calling a function with undefined symbol, Emanuel Berg, 2022/11/03
- Re: Calling a function with undefined symbol, Emanuel Berg, 2022/11/03
- Re: Calling a function with undefined symbol, Michael Heerdegen, 2022/11/03
- Re: Calling a function with undefined symbol, Emanuel Berg, 2022/11/04
- Re: Calling a function with undefined symbol, Michael Heerdegen, 2022/11/04
- Re: Calling a function with undefined symbol,
Emanuel Berg <=
- Re: Calling a function with undefined symbol, Michael Heerdegen, 2022/11/05
- Re: Calling a function with undefined symbol, Emanuel Berg, 2022/11/07
- Re: Calling a function with undefined symbol, Michael Heerdegen, 2022/11/07
- RE: [External] : Re: Calling a function with undefined symbol, Drew Adams, 2022/11/07
- Re: Calling a function with undefined symbol, Emanuel Berg, 2022/11/08
- Re: Calling a function with undefined symbol, Michael Heerdegen, 2022/11/08
- Re: Calling a function with undefined symbol, tomas, 2022/11/08
- Re: Calling a function with undefined symbol, Michael Heerdegen, 2022/11/08
- Re: Calling a function with undefined symbol, tomas, 2022/11/08
- Re: Calling a function with undefined symbol, Sam Steingold, 2022/11/08