unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Miles Bader <miles@gnu.org>
Cc: bug-cc-mode@gnu.org, emacs-devel@gnu.org
Subject: Re: Blessing cl functions
Date: Sun, 21 Sep 2003 19:03:57 -0400	[thread overview]
Message-ID: <20030921230357.GB17399@fencepost> (raw)
In-Reply-To: <E1A1Clt-0004LV-1S@fencepost.gnu.org>

On Sun, Sep 21, 2003 at 06:33:37PM -0400, Richard Stallman wrote:
>     I could do that, especially if it would mean that the other mapping
>     functions (maplist, mapl, mapcan, mapcon, some, every, notany, and
>     notevery) got in too. None of those have keyword arguments, anyway.
> 
> I don't like the idea of adding all of them, but a few of them would
> be ok.

The last time I looked at this, BTW, the main annoyance with adding cl-style
multiple-sequence mapping operators seemed to be the interaction with support
for mapping over non-list sequences.  The current implementation just hands
off iteration to a dedicated function for each sequence type, which doesn't
work so well for multiple sequences (because each can be a different type).

One could get around this by saying that mapping operators only work
efficiently when all sequence arguments are of the same type, and in other
cases convert additional sequence types to the type of the first before
proceeding.

-Miles
-- 
"I distrust a research person who is always obviously busy on a task."
   --Robert Frosch, VP, GM Research


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf


      reply	other threads:[~2003-09-21 23:03 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E19mCBN-0004BX-4J@fencepost.gnu.org>
2003-08-22 11:45 ` cc-langs.el Martin Stjernholm
2003-08-22 21:21   ` cc-langs.el Miles Bader
2003-08-23  4:01   ` cc-langs.el Richard Stallman
2003-08-23 13:41     ` cc-langs.el Martin Stjernholm
2003-08-24 18:00       ` cc-langs.el Richard Stallman
2003-08-26 22:03         ` cc-langs.el Martin Stjernholm
     [not found]           ` <E19s8Wc-0005SJ-41@fencepost.gnu.org>
2003-08-28 11:03             ` cc-langs.el Martin Stjernholm
2003-08-29 15:53               ` cc-langs.el Richard Stallman
2003-08-29 18:49                 ` cc-langs.el Kevin Rodgers
2003-08-29 23:17                   ` cc-langs.el Miles Bader
2003-08-30 19:42                     ` cc-langs.el Martin Stjernholm
2003-08-31  0:42                       ` cc-langs.el Miles Bader
2003-09-01  2:22                       ` cc-langs.el Richard Stallman
2003-09-20 23:31                         ` Blessing cl functions Martin Stjernholm
2003-09-21 22:33                           ` Richard Stallman
2003-09-21 23:03                             ` Miles Bader [this message]

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=20030921230357.GB17399@fencepost \
    --to=miles@gnu.org \
    --cc=bug-cc-mode@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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.
Code repositories for project(s) associated with this public inbox

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

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).