help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Could anyone explain why example no. 4 is different from the others?


From: tomas
Subject: Re: Could anyone explain why example no. 4 is different from the others?
Date: Thu, 17 Aug 2023 06:32:01 +0200

On Thu, Aug 17, 2023 at 03:15:50AM +0000, Rodrigo Morales wrote:
>  Could anyone explain why example no. 4 is different from the others?
> Example no. 1
> 
> ,----
> | (append '(nil) '(nil) '(nil))
> `----
> 
> ,----
> | (nil nil nil)
> `----
> 
> Example no. 2
> 
> ,----
> | (funcall 'append '(nil) '(nil) '(nil))
> `----
> 
> ,----
> | (nil nil nil)
> `----
> 
> Example no. 3
> 
> ,----
> | (apply 'append '((nil) (nil) (nil)))
> `----
> 
> ,----
> | (nil nil nil)
> `----
> 
> Example no. 4
> 
> ,----
> | (apply 'append '(nil) '(nil) '(nil))
> `----
> 
> ,----
> | (nil nil)
> `----

Because your example number three is actually four nils. We
just can't see the fourth :)

Cheers
-- 
t

Attachment: signature.asc
Description: PGP signature


reply via email to

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