Subject: Re: bug#76476: Make cl-first, cl-second, ..., cl-tenth part of Emacs Lisp

From: Stefan Monnier <[email-masked]>
Date: Fri, 21 Feb 2025 17:30:50 -0500

> I propose making the following functions from cl-lib.el a part of
> Emacs Lisp proper (i.e. defined in subr.el):
>
>     first
>     second
>     third
>     fourth
>     fifth
>     sixth
>     seventh
>     eight
>     ninth
>     tenth
>     rest

FWIW, I hate those even more than the `cadar` thingies.  🙂

For direct calls, `nth` is always a better choice (except for `first`
and `rest`, of course, where `car/cdr` would be the replacement), so the
only use case is when you pass them as arg somewhere, but that doesn't
seem to be very frequent.
[ And for those rare cases, an approach like llama's (##nth N %) is
  a more general solution to the problem.  ]

        Stefan