all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Improvements on constructing a string
@ 2022-11-10  5:38 Heime
  2022-11-10 14:09 ` Stefan Monnier via Users list for the GNU Emacs text editor
  2022-11-10 14:28 ` Jean Louis
  0 siblings, 2 replies; 3+ messages in thread
From: Heime @ 2022-11-10  5:38 UTC (permalink / raw)
  To: Heime via Users list for the GNU Emacs text editor


Can one improve on this implementation that makes a string "st".

(defun chart-row (list)
  "Make row for Engine Parameters as string."
  
  (let ( (st "") )

    (while list
      (setq st (concat st (chart-cell (pop list)))))
    (setq st (concat st "\n"))

    st))



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-10 14:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-10  5:38 Improvements on constructing a string Heime
2022-11-10 14:09 ` Stefan Monnier via Users list for the GNU Emacs text editor
2022-11-10 14:28 ` Jean Louis

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.