From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: map-put! and (setf (map-elt ...) ..) on lists Date: Tue, 18 Dec 2018 10:47:19 -0500 Message-ID: References: <87y38p4ely.fsf@tromey.com> <8b3d6cc4-43ac-48cc-be4c-917f601faa43@default> <87imzstm6v.fsf@petton.fr> <89a74aae-cc0d-4fea-aeef-1e4afdc518e5@default> <87bm5jm9eu.fsf@petton.fr> <150bbe9c-3ef4-4d43-9fce-23d608abd829@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1545148746 7830 195.159.176.226 (18 Dec 2018 15:59:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 18 Dec 2018 15:59:06 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Nicolas Petton , Tom Tromey , emacs-devel@gnu.org To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 18 16:59:02 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gZHlu-0001t5-9T for ged-emacs-devel@m.gmane.org; Tue, 18 Dec 2018 16:59:02 +0100 Original-Received: from localhost ([::1]:54742 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZHo0-00081m-Is for ged-emacs-devel@m.gmane.org; Tue, 18 Dec 2018 11:01:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45799) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZHak-0007ZH-9l for emacs-devel@gnu.org; Tue, 18 Dec 2018 10:47:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gZHaf-0003EX-A5 for emacs-devel@gnu.org; Tue, 18 Dec 2018 10:47:30 -0500 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:38771) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZHad-0003CM-RF for emacs-devel@gnu.org; Tue, 18 Dec 2018 10:47:25 -0500 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id wBIFlJ43023277; Tue, 18 Dec 2018 10:47:19 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 0ABAE6AAB6; Tue, 18 Dec 2018 10:47:19 -0500 (EST) In-Reply-To: <150bbe9c-3ef4-4d43-9fce-23d608abd829@default> (Drew Adams's message of "Tue, 18 Dec 2018 07:34:02 -0800 (PST)") X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.1 X-NAI-Spam-Rules: 3 Rules triggered GEN_SPAM_FEATRE=0.1, EDT_SA_DN_PASS=0, RV6441=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6441> : inlines <6987> : streams <1807495> : uri <2766567> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:231908 Archived-At: > My point was that there is no need for a function > name to signal that the function so named is > "destructive". The doc string should do that, however. I disagree. It doesn't have to be something like ! but it shouldn't be necessary to look at the docstring to figure that out. Stefan