[Top][All Lists]

[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".




reply via email to

[Prev in Thread] Current Thread [Next in Thread]