From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: Re: manual Date: Tue, 08 Apr 2008 17:10:13 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1207693375 3894 80.91.229.12 (8 Apr 2008 22:22:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Apr 2008 22:22:55 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: David Roderick Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 09 00:23:28 2008 Return-path: Envelope-to: geb-bug-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 1JjMDn-0000la-Ds for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Apr 2008 00:23:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JjMD9-0001bj-T5 for geb-bug-gnu-emacs@m.gmane.org; Tue, 08 Apr 2008 18:22:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JjL5D-0002lb-NR for bug-gnu-emacs@gnu.org; Tue, 08 Apr 2008 17:10:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JjL5B-0002jg-PZ for bug-gnu-emacs@gnu.org; Tue, 08 Apr 2008 17:10:22 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JjL5B-0002jR-8C for bug-gnu-emacs@gnu.org; Tue, 08 Apr 2008 17:10:21 -0400 Original-Received: from mercure.iro.umontreal.ca ([132.204.24.67]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JjL5B-0007J6-4m for bug-gnu-emacs@gnu.org; Tue, 08 Apr 2008 17:10:21 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id B37232CF787; Tue, 8 Apr 2008 17:10:20 -0400 (EDT) Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 9EDD83FE0; Tue, 8 Apr 2008 17:10:13 -0400 (EDT) Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 88B673FC8A; Tue, 8 Apr 2008 17:10:13 -0400 (EDT) In-Reply-To: (David Roderick's message of "Tue, 08 Apr 2008 10:27:11 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:17822 Archived-At: > 12.6 Mapping Functions > ====================== > -- Function: mapcar function sequence > `mapcar' applies FUNCTION to each element of SEQUENCE in turn, and > returns a list of the results. > DOES the function as mapcar evaluate both function and sequence, or > merely function and not sequence. I'm not sure I understand the question. It seems you are asking of both `function' and `sequence' are evaluated, but that's clearly the case, since `mapcar' is a function and Elisp is not a lazy language: all arguments to a function are evaluated before passing them to the function. Stefan