[Top][All Lists]

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

Re: How to flatten a one-level-deep list?

From: Marcin Borkowski
Subject: Re: How to flatten a one-level-deep list?
Date: Wed, 18 May 2016 11:37:21 +0200
User-agent: mu4e 0.9.16; emacs

On 2016-05-18, at 10:21, wrote:

>   (setq l '((a b c) (d e f) (g h i)))
>   (apply 'append l)
>   => (a b c d e f g h i)
> No idea whether performance or edge cases match your requirements,
> though :)

Thanks, that looks fine.  Meanwhile, I went with a mapconcat nested
within a mapconcat (the atoms I have are strings, and what I really need
is concatenation of all of them).

> regards
> - -- t


Marcin Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University

reply via email to

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