unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
To: emacs-devel@gnu.org
Subject: Re: Why aren't there functions such as filter, take-while, etc. "by  default"?
Date: Mon, 26 Apr 2010 10:35:35 +0200	[thread overview]
Message-ID: <87aasq4nmw.fsf@lola.goethe.zz> (raw)
In-Reply-To: 87eii24nwb.fsf@lola.goethe.zz

David Kastrup <dak@gnu.org> writes:

> Since Lisp, after all, is supposed to be a functional language, I'd like
> to see Emacs Lisp not penalize functional programming styles.  Currently
> it does,

Not just With regard to performance, but also input readability (neither
`(lambda ... ,outer ...) nor the crutches involving make-symbol are
really straightforward), and predictability (dynamic rebinding!).

> and so I don't think general-purpose iteration constructs encouraging
> lambda predicates are a good idea for now.

-- 
David Kastrup





      reply	other threads:[~2010-04-26  8:35 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
2010-04-26  8:29     ` David Kastrup
2010-04-26  8:35       ` David Kastrup [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=87aasq4nmw.fsf@lola.goethe.zz \
    --to=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 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).