[Top][All Lists]

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

Re: Looping lists through mapcar

From: Emanuel Berg
Subject: Re: Looping lists through mapcar
Date: Wed, 24 Aug 2022 13:44:11 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

> (defun my-assoc-lists ()
>   (let* ((name "andromeda-assoc-table-")
>        (list '())
>        (counter 1))
>     (while (boundp (intern (concat name (number-to-string counter))))
>       (setq list (append list (symbol-value (intern (concat name 
> (number-to-string counter))))))
>       (setq counter (1+ counter)))
>     list))

Don't read the above code.
Your own programming could
deteriorate as a result.

underground experts united

reply via email to

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