From: Nicolas Petton <petton.nicolas@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Emacs development discussions <emacs-devel@gnu.org>
Subject: Re: Including some functions from dash.el in Emacs?
Date: Wed, 29 Oct 2014 15:52:29 +0100 [thread overview]
Message-ID: <87mw8f6i8i.fsf@gmail.com> (raw)
In-Reply-To: <jwvk33j7yyy.fsf-monnier+emacs@gnu.org>
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> Indeed, but I thought that having it builtin (ie no cl-lib
>> required) would make Elisp better. Maybe that's just me but I always see
>> cl-lib as a compatibility layer for CL, not something that I should
>> almost always load in order to have decent manipulation list functions.
>
> The problem is only in your mind. Adding "(require 'cl-lib)" to the
> beginning of your file costs only 18bytes. I think you can afford it.
>
Adding (require 'cl-lib) doesn't cost much, you are right, but IMHO it
has nothing to do with the cost.
I asked about dash functions because I personally think that Elisp would
be much better with such list manipulation functions builtin.
I think that using cl-lib only to filter a list shows that something is
missing from the language. To me it is also weird to use prefixed
functions for basic features like "cl-remove-if" and "cl-reduce".
Please understand that I'm only willing to understand the reason behind
this and why adding some of this functions wouldn't modernize and
improve Elisp.
Cheers,
Nico
--
Nicolas Petton
http://nicolas-petton.fr
next prev parent reply other threads:[~2014-10-29 14:52 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-29 7:25 Including some functions from dash.el in Emacs? Nicolas Petton
2014-10-29 12:50 ` Stefan Monnier
2014-10-29 13:04 ` Rasmus
2014-10-29 13:16 ` Nicolas Petton
2014-10-29 14:06 ` Stefan Monnier
2014-10-29 14:52 ` Nicolas Petton [this message]
2014-10-29 16:35 ` Stefan Monnier
2014-10-30 9:24 ` Nicolas Petton
2014-10-30 13:41 ` Stefan Monnier
2014-10-29 14:09 ` raman
2014-10-29 16:36 ` Stefan Monnier
2014-10-30 14:38 ` raman
2014-10-30 15:48 ` Compiling non-Elisp files in ELPA packages (was: Including some functions from dash.el in Emacs?) Stefan Monnier
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=87mw8f6i8i.fsf@gmail.com \
--to=petton.nicolas@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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.