all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: David Kastrup <dak@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Why aren't there functions such as filter, take-while, etc. "by  default"?
Date: Sun, 25 Apr 2010 23:39:29 -0400	[thread overview]
Message-ID: <jwveii2opbr.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87fx2j5wle.fsf@lola.goethe.zz> (David Kastrup's message of "Sun,  25 Apr 2010 18:24:29 +0200")

>> Why does it have to be so hard to write Emacs Lisp without requiring cl?
>> Why aren't there functions such as filter (the equivalent of
>> remove-if-not in cl-seq.el), take-while, reduce etc. "native" in
>> Emacs?
> They make for no-surprise efficient programs primarily when the language
> has lexical closures.

I do not understand this.  What do you mean to say, and why is dynamic
scoping relevant (i.e. why wouldn't the same argument apply to mapcar,
mapconcat, etc...).


        Stefan




  parent reply	other threads:[~2010-04-26  3:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-24 20:13 Why aren't there functions such as filter, take-while, etc. "by default"? Deniz Dogan
2010-04-25 16:24 ` David Kastrup
2010-04-25 19:09   ` Štěpán Němec
2010-04-25 20:27   ` Deniz Dogan
2010-04-25 22:56     ` Drew Adams
2010-04-25 23:10       ` Deniz Dogan
2010-04-26  3:39   ` Stefan Monnier [this message]
2010-04-26  8:29     ` David Kastrup
2010-04-26  8:35       ` David Kastrup

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=jwveii2opbr.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=dak@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 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.