help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Array to list and vice versa


From: Emanuel Berg
Subject: Re: Array to list and vice versa
Date: Sun, 06 Nov 2022 14:58:49 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Heime wrote:

> How can I get values from an array to populate a list.

(seq--into-list "Sail Ho!") ; (83 97 105 108 32 72 111 33)

(seq--into-list [1 3 3 7]) ; (1 3 3 7)

> And vice versa, take a list to
> make an array.

(string-join (list "A" "B" "C")) ; "ABC"

Vector from list ... don't know?

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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