unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).