[Top][All Lists]

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

Re: Replace element in list

From: Michael Heerdegen
Subject: Re: Replace element in list
Date: Mon, 02 Sep 2019 13:03:21 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) writes:

> In Emacs Lisp you could try:
>   (setcar (nthcdr 3 foo) 'mud)

Another way to write that is

    (setf (nth 3 foo) 'mud)


reply via email to

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