[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Appending lists
From: |
Pierpaolo Bernardi |
Subject: |
Re: Appending lists |
Date: |
Mon, 14 Jun 2021 18:44:13 +0200 |
(defvar newlist
(append city district))
Il giorno 14 giugno 2021, alle ore 18:40, henri-biard@francemel.fr ha scritto:
I want to make a new list named newlist to be
(append city district)
and put the new list into a new list.
I want to end up the equivalent of
(defvar newlist
'( ("London" . 1) ("Paris" . 2) ("Madrid" . 3) ("Greenwich" . 1) ("Louvre" .
2) ("Centro" . 3) ) )
From: Pierpaolo Bernardi <olopierpa@gmail.com>
To: henri-biard@francemel fr <henri-biard@francemel.fr>;
help-gnu-emacs@gnu org <help-gnu-emacs@gnu.org>
Subject: Re: Appending lists
Date: 14/06/2021 18:36:08 Europe/Paris
Then
(append city district)
does what you say you want. I suspect you want something else, though.
Il giorno 14 giugno 2021, alle ore 18:32, henri-biard@francemel.fr ha scritto:
From: Pierpaolo Bernardi <olopierpa@gmail.com>
To: henri-biard@francemel.fr <henri-biard@francemel.fr>;
help-gnu-emacs@gnu org <help-gnu-emacs@gnu.org>
Subject: Re: Appending lists
Date: 14/06/2021 18:24:21 Europe/Paris
It is not clear what you want to do. Give an example of inputs and the relative
output.
Il giorno 14 giugno 2021, alle ore 18:13, henri-biard@francemel.fr ha scritto:
I would like to make a list that is composed of appending three lists together.
Could use append,
but do not know how to put the result into a new list.
(defvar city
'( ("London" . 1) ("Paris" . 2) ("Madrid" . 3))
"docstring" )
(defvar district
'( ("Greenwich" . 1) ("Louvre" . 2) ("Centro" . 3) )
"docstring" )
- Re: Appending lists, (continued)
- Re: Appending lists, Emanuel Berg, 2021/06/16
- Re: Appending lists, Emanuel Berg, 2021/06/16
- RE: [External] : Re: Appending lists, Drew Adams, 2021/06/16
- Re: [External] : Re: Appending lists, Emanuel Berg, 2021/06/16
- RE: [External] : Re: Appending lists, Drew Adams, 2021/06/16
- Re: [External] : Re: Appending lists, Emanuel Berg, 2021/06/16
- Re: [External] : Re: Appending lists, tomas, 2021/06/17
- [OFFTOPIC] Re: Appending lists, Stefan Monnier, 2021/06/17
- Re: [OFFTOPIC] Re: Appending lists, tomas, 2021/06/17
- Re: [External] : Re: Appending lists, Emanuel Berg, 2021/06/18
Re: Appending lists,
Pierpaolo Bernardi <=
Re: Appending lists, Drew Adams, 2021/06/16
- Re: Appending lists, tomas, 2021/06/17
- Re: Appending lists, Emanuel Berg, 2021/06/18
- Re: Appending lists, Emanuel Berg, 2021/06/18
- Re: Appending lists, tomas, 2021/06/19
- Re: Appending lists, Emanuel Berg, 2021/06/19
- RE: [External] : Re: Appending lists, Drew Adams, 2021/06/19