unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Michael Heerdegen via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: strange behavior of mapconcat
Date: Tue, 16 Apr 2024 08:16:55 +0200	[thread overview]
Message-ID: <871q75u90o.fsf@web.de> (raw)
In-Reply-To: CAJ+V6LGUCbwM5goyAMw8-Q8YJC42FEzSEZM9ykfRtAhew4b26Q@mail.gmail.com

shortcutz <spookygostee@gmail.com> writes:

> Oh, sorry my first post is spam....
> it is impossible to concatenate two characters! >_<

The FUNCTION argument must return "[...] a sequence of characters" (see
docstring) , so

 (mapconcat #'string "t" " ") ==> "t"

No concatenation involved at all in this example.


Michael.




  reply	other threads:[~2024-04-16  6:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-15 15:43 strange behavior of mapconcat shortcutz
2024-04-15 15:57 ` shortcutz
2024-04-16  6:16   ` Michael Heerdegen via Users list for the GNU Emacs text editor [this message]
2024-04-16  6:36 ` Joost Kremers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871q75u90o.fsf@web.de \
    --to=help-gnu-emacs@gnu.org \
    --cc=michael_heerdegen@web.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).