emacs-devel
[Top][All Lists]
Advanced

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

Re: Add hints to documentation of car and cdr for (e)lisp newcomers - ta


From: Eli Zaretskii
Subject: Re: Add hints to documentation of car and cdr for (e)lisp newcomers - take 2
Date: Wed, 14 Jul 2021 18:50:28 +0300

> From: Adam Sjøgren <asjo@koldfront.dk>
> Date: Wed, 14 Jul 2021 17:05:24 +0200
> 
> Or what about:
> 
>   ,----
>   | (car LIST)
>   | 
>   | Return the car of LIST, eg if LIST is '(a . b) return a.  If arg is nil, 
> return nil.
>   `----
> 
>   ,----
>   | (cdr LIST)
>   | 
>   | Return the cdr of LIST, eg if LIST is '(a . b) return b.  If arg is nil, 
> return nil.
>   `----

The doc string nowadays includes a pointer to the ELisp manual, where
you can find a description of what is 'car' and what is 'cdr'.  I
think that's "good enough".



reply via email to

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