[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (byte-compile '(append '(1 2) '(3 4)))
From: |
Felician Nemeth |
Subject: |
Re: (byte-compile '(append '(1 2) '(3 4))) |
Date: |
Sat, 16 Mar 2024 14:45:24 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
> According to its docstring, append's last argument must be eq to the
> tail of its return value.
So that is why the compiler does optimize out (append '(1 2) '(3 4)) in
(disassemble (byte-compile '(append (append '(1 2) '(3 4)) '(5 6)))) , but
does not optimize the same expression out in
(disassemble (byte-compile '(append (append '(1 2) '(3 4))))) ?