From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Politz Newsgroups: gmane.emacs.help Subject: Re: plist-put modification by side effect Date: Mon, 02 Feb 2009 19:07:18 +0100 Organization: FH-Trier Message-ID: <1233598100.948591@arno.fh-trier.de> References: <20090131210630.GC17573@stats.ox.ac.uk> <87d4e3w031.fsf@ambire.localdomain> <20090201162314.GA13754@stats.ox.ac.uk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1233600056 12583 80.91.229.12 (2 Feb 2009 18:40:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Feb 2009 18:40:56 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 02 19:42:10 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LU3k9-0003p1-1o for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Feb 2009 19:42:01 +0100 Original-Received: from localhost ([127.0.0.1]:49494 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LU3iq-0006kv-76 for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Feb 2009 13:40:40 -0500 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!feeder.erje.net!news-2.dfn.de!news-stu1.dfn.de!news.uni-kl.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-NNTP-Posting-Host: 143-93-54-11.arno.fh-trier.de Original-X-Trace: news.uni-kl.de 1233598172 22017 143.93.54.11 (2 Feb 2009 18:09:32 GMT) Original-X-Complaints-To: usenet@news.uni-kl.de Original-NNTP-Posting-Date: Mon, 2 Feb 2009 18:09:32 +0000 (UTC) User-Agent: Mozilla-Thunderbird 2.0.0.17 (X11/20081018) In-Reply-To: Cache-Post-Path: arno.fh-trier.de!unknown@dslb-088-068-158-019.pools.arcor-ip.net X-Cache: nntpcache 3.0.1 (see http://www.nntpcache.org/) Original-Xref: news.stanford.edu gnu.emacs.help:166545 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:61861 Archived-At: Thien-Thi Nguyen wrote: > () Dan Davison > () Sun, 1 Feb 2009 11:23:14 -0500 > > So if I've understood this then I think the docstring is inaccurate > since `The PLIST is modified by side effects.' is not necessarily > true. > > When something is consed onto the head of a list, the list is not modified. > > thi > > I believe the whole term 'side effect' is a lisp heritage, where it marks a destructive function, one which _may_ modify it's arguments. In constrast to 'functional functions' like append etc. So the emphasis is on 'altering it's argument' and not on 'dont' bother with the return value'. -ap