Rudolf Adamkovič Personal site


Map n-to-m-to-1 string: mapconcat function

An Elisp function that maps n elements 19 to m strings concatenated into 1 string:

(mapconcat (lambda (x)
             (when (< x 30)
               (format "%s!" x)))
           '(10 20 30))
"10!20!"

Footnotes

(19)

Accepts lists, vectors, and strings.


© 2025 Rudolf Adamkovič under GNU General Public License version 3.
Made with Emacs and secret alien technologies of yesteryear.