all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sam Steingold <sds@gnu.org>
To: emacs-devel@gnu.org, "Mattias Engdegård" <mattiase@acm.org>
Subject: Re: master d62766305a: Add `take` and `ntake` (bug#56521)
Date: Mon, 18 Jul 2022 13:21:07 -0400	[thread overview]
Message-ID: <lzilnuuykc.fsf@3c22fb11fdab.ant.amazon.com> (raw)
In-Reply-To: <20220717154726.F2455C00095@vcs2.savannah.gnu.org> ("Mattias Engdegård"'s message of "Sun, 17 Jul 2022 11:47:25 -0400 (EDT)")

> * Mattias Engdegård <znggvnfr@npz.bet> [2022-07-17 11:47:25 -0400]:
>
> branch: master
> commit d62766305ad8fe6ca1695341c34b9836d051e3cb
> Author: Mattias Engdegård <mattiase@acm.org>
> Commit: Mattias Engdegård <mattiase@acm.org>
>
>     Add `take` and `ntake` (bug#56521)
>     
>     These are useful list primitives, complementary to `nthcdr`.

How are these better than the venerable butlast and nbutlast?
https://www.gnu.org/software/emacs/manual/html_node/elisp/List-Elements.html#index-butlast
note that butlast and nbutlast have a very long Lisp history, they
appear also in Common Lisp and many lisps before that.


-- 
Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.2113
http://childpsy.net http://calmchildstories.com http://steingoldpsychology.com
https://thereligionofpeace.com https://ffii.org https://jihadwatch.org
Democrats, get out of my wallet! Republicans, get out of my bedroom!



  parent reply	other threads:[~2022-07-18 17:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <165807284522.13427.2673143161208860104@vcs2.savannah.gnu.org>
     [not found] ` <20220717154726.F2455C00095@vcs2.savannah.gnu.org>
2022-07-18  8:48   ` master d62766305a: Add `take` and `ntake` (bug#56521) Robert Pluim
2022-07-18 10:59     ` Mattias Engdegård
2022-07-18 11:55       ` Robert Pluim
2022-07-18 16:34         ` Michael Heerdegen
2022-07-18 17:21   ` Sam Steingold [this message]
2022-07-18 18:56     ` Philip Kaludercic
2022-07-18 22:57       ` Sam Steingold
2022-07-19 10:20         ` Mattias Engdegård

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=lzilnuuykc.fsf@3c22fb11fdab.ant.amazon.com \
    --to=sds@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=mattiase@acm.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 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.