public inbox for cgen@sourceware.org
 help / color / mirror / Atom feed
From: Jim Blandy <jimb@redhat.com>
To: Doug Evans <dje@transmeta.com>
Cc: cgen@sources.redhat.com
Subject: Re: PATCH: Handle symbols in messages
Date: Sat, 22 Jan 2005 02:44:00 -0000	[thread overview]
Message-ID: <vt2brbitcgt.fsf@zenia.home> (raw)
In-Reply-To: <16880.19488.18881.229285@casey.transmeta.com>


Doug Evans <dje@transmeta.com> writes:
> fwiw, while string-concat might not clearly specify the operation
> (though I don't have a problem with it), `concat' seems too generic
> (or at least not string-specific enough in the way that the rest of
> the string functions are so named).
> 
> string-map is to map,
> as string-list is to list,
> as string-<mumble> is to concat.
> 
> concat mightn't make sense outside of strings (and thus why have the
> string- prefix ...), but why preclude symbol-concat? (etc.)
> 
> How about string-concat?

Thanks for picking at this.  I had thought I was naming it after a
Common Lisp function, but now that I look it up I see I was getting my
dialects confused.  (Emacs Lisp has a concat function that does type
conversions on its arguments.)

How about string/symbol-append?  Given that there's no good precedent
for 'concat' after all, and that concat has another meaning in CGEN
.cpu files, and that the distinction between appending and
concatenating is unclear, perhaps we should stick to the verb Scheme
generally uses for this kind of operation, and simply name the types
we're handling.

  reply	other threads:[~2005-01-22  2:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-20 22:59 Jim Blandy
2005-01-21  0:26 ` Doug Evans
2005-01-22  2:44   ` Jim Blandy [this message]
2005-01-27 20:38     ` Jim Blandy

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

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

  git send-email \
    --in-reply-to=vt2brbitcgt.fsf@zenia.home \
    --to=jimb@redhat.com \
    --cc=cgen@sources.redhat.com \
    --cc=dje@transmeta.com \
    /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).