[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: dash.el [was: Re: Imports / inclusion of s.el into Emacs]
From: |
Drew Adams |
Subject: |
RE: dash.el [was: Re: Imports / inclusion of s.el into Emacs] |
Date: |
Sun, 10 May 2020 08:26:53 -0700 (PDT) |
> The point was that until very recently (27.1)
> there was no flatten function, which is
> something almost every language has.
^^^^^^^^^^^^
Elisp survived for 35 years without a
predefined `flatten'? And Common Lisp
still doesn't have it? How come?
I'd say that `flatten' is something
"almost every" Lisp user learns to
write early on, at least as a simple
recursive function. Good exercise.
I don't think it's a crying need that
`flatten' be predefined. But OK, fine,
getting the leaves of a tree can be
useful. Sometimes you need something
like that; mostly you don't.
___
Google/duck-duck: "flatten list lisp".
https://stackoverflow.com/questions/10465096/flatten-nests-function-in-lisp-need-help-understanding
http://lee-mac.com/flatten.html
https://coderwall.com/p/7uecya/flatten-a-multi-dimensional-list-in-lisp
- Re: dash.el [was: Re: Imports / inclusion of s.el into Emacs], (continued)
- Re: dash.el [was: Re: Imports / inclusion of s.el into Emacs], Joost Kremers, 2020/05/11
- Re: dash.el [was: Re: Imports / inclusion of s.el into Emacs], tomas, 2020/05/11
- Re: dash.el [was: Re: Imports / inclusion of s.el into Emacs], Philippe Vaucher, 2020/05/11
- Re: dash.el [was: Re: Imports / inclusion of s.el into Emacs], tomas, 2020/05/11
- Re: dash.el [was: Re: Imports / inclusion of s.el into Emacs], Philippe Vaucher, 2020/05/11
- Re: dash.el [was: Re: Imports / inclusion of s.el into Emacs], 조성빈, 2020/05/11
- Re: dash.el [was: Re: Imports / inclusion of s.el into Emacs], Joost Kremers, 2020/05/11
- Re: dash.el [was: Re: Imports / inclusion of s.el into Emacs], Philippe Vaucher, 2020/05/11
- Re: dash.el [was: Re: Imports / inclusion of s.el into Emacs], Richard Stallman, 2020/05/09
- Re: dash.el [was: Re: Imports / inclusion of s.el into Emacs], Philippe Vaucher, 2020/05/10
- RE: dash.el [was: Re: Imports / inclusion of s.el into Emacs],
Drew Adams <=
- Re: dash.el [was: Re: Imports / inclusion of s.el into Emacs], Philippe Vaucher, 2020/05/10
- Re: dash.el [was: Re: Imports / inclusion of s.el into Emacs], Alfred M. Szmidt, 2020/05/10
- Re: dash.el [was: Re: Imports / inclusion of s.el into Emacs], Phillip Lord, 2020/05/11
- Re: dash.el [was: Re: Imports / inclusion of s.el into Emacs], Stefan Monnier, 2020/05/10
- RE: dash.el [was: Re: Imports / inclusion of s.el into Emacs], Drew Adams, 2020/05/10
- Re: dash.el [was: Re: Imports / inclusion of s.el into Emacs], Richard Stallman, 2020/05/10
- Re: dash.el [was: Re: Imports / inclusion of s.el into Emacs], Richard Stallman, 2020/05/10
- Re: dash.el [was: Re: Imports / inclusion of s.el into Emacs], Phillip Lord, 2020/05/11
- Re: dash.el [was: Re: Imports / inclusion of s.el into Emacs], Richard Stallman, 2020/05/11
- Re: dash.el [was: Re: Imports / inclusion of s.el into Emacs], Joost Kremers, 2020/05/12