[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: replacing a certain element in a list with another
From: |
David Kastrup |
Subject: |
Re: replacing a certain element in a list with another |
Date: |
30 Sep 2003 12:03:24 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Klaus Berndl <klaus.berndl@sdm.de> writes:
> On 30 Sep 2003, David Kastrup wrote:
>
> > Klaus Berndl <klaus.berndl@sdm.de> writes:
> >
> > > Suppose i have the following list:
> > >
> > > '(a b c d)
> > >
> > > What is a good way to replace one of the list-elements with another, so
> > > foe example replacing the 'c with 'e?
> >
> > > But: i do not want using any c-functions, so i would prefer a
> > > solution without using `substitute'!
> >
> > Uh, what?
>
> This comes from a recommendation in the elisp-info-manual (Standards -->
> Coding conventions"):
>
> * Please don't require the `cl' package of Common Lisp extensions
> at run time.
What do c-functions have to do with cl?
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Re: replacing a certain element in a list with another, Stefan Monnier, 2003/09/30