[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: seq.el and the complexity of Emacs Lisp.
|
From: |
João Távora |
|
Subject: |
Re: seq.el and the complexity of Emacs Lisp. |
|
Date: |
Fri, 10 Nov 2023 02:31:09 +0000 |
On Thu, Nov 9, 2023 at 11:49 PM Jim Porter <jporterbugs@gmail.com> wrote:
>
> On 11/9/2023 1:20 PM, João Távora wrote:
> > Examples could be an implementation of lazy sequences
> > for example. So it stands to reason that there's no (obvious) reason
> > to preload seq.el,
>
> In fact, I was considering adding support to seq.el for generators,
> which we could consider a kind of lazy sequence. I'm not entirely sure I
> *need* it yet, but it could make a few things in Eshell easier.
Have fun! Interested to see the result.
> Currently, Eshell's use of seq.el is pretty basic, but 'seq-elt' in
> particular is nice since it automatically decides whether to use 'nth'
> or 'aref' as appropriate. I don't see any similar cl-lib function that
Right, probably because in both Common Lisp and Elisp that function
is called ELT and is a very old function. So there was no need to
add it to cl-lib.el. keep in mind cl-lib.el comes from cl.el which
didn't have the "cl-" prefix. So Common Lisp functions that were
exactly the same in Emacs Lisp obviously weren't in cl.el, so that's
why there's no cl-elt.
João
- Re: What's missing in ELisp that makes, people want to use cl-lib?, (continued)
seq.el and the complexity of Emacs Lisp., Richard Stallman, 2023/11/05
- Re: seq.el and the complexity of Emacs Lisp., Philip Kaludercic, 2023/11/06
- Re: seq.el and the complexity of Emacs Lisp., Gerd Möllmann, 2023/11/06
- Re: seq.el and the complexity of Emacs Lisp., João Távora, 2023/11/07
- Re: seq.el and the complexity of Emacs Lisp., Jim Porter, 2023/11/09
- Re: seq.el and the complexity of Emacs Lisp., João Távora, 2023/11/09
- Re: seq.el and the complexity of Emacs Lisp., Jim Porter, 2023/11/09
- Re: seq.el and the complexity of Emacs Lisp., Jim Porter, 2023/11/09
- Re: seq.el and the complexity of Emacs Lisp.,
João Távora <=
- Re: seq.el and the complexity of Emacs Lisp., Jim Porter, 2023/11/09
Re: seq.el and the complexity of Emacs Lisp., Alan Mackenzie, 2023/11/10
Re: seq.el and the complexity of Emacs Lisp., Eli Zaretskii, 2023/11/10
Re: seq.el and the complexity of Emacs Lisp., Michael Heerdegen, 2023/11/10
Re: seq.el and the complexity of Emacs Lisp., João Távora, 2023/11/10
Re: seq.el and the complexity of Emacs Lisp., Michael Heerdegen, 2023/11/10
Re: seq.el and the complexity of Emacs Lisp., Richard Stallman, 2023/11/07
Re: seq.el and the complexity of Emacs Lisp., Gerd Möllmann, 2023/11/08
Re: seq.el and the complexity of Emacs Lisp., Richard Stallman, 2023/11/07
Re: seq.el and the complexity of Emacs Lisp., Björn Bidar, 2023/11/06