From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/20761 Path: main.gmane.org!not-for-mail From: Hrvoje Niksic Newsgroups: gmane.emacs.gnus.general Subject: Re: cl Date: 28 Jan 1999 19:16:14 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: <87d83zp8k1.fsf@pc-hrvoje.srce.hr> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035158994 19472 80.91.224.250 (21 Oct 2002 00:09:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:09:54 +0000 (UTC) Return-Path: Original-Received: from karazm.math.uh.edu (karazm.math.uh.edu [129.7.128.1]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id NAA21408 for ; Thu, 28 Jan 1999 13:17:54 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by karazm.math.uh.edu (8.9.1/8.9.1) with ESMTP id MAB07952; Thu, 28 Jan 1999 12:16:56 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 28 Jan 1999 12:17:02 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id MAA01411 for ; Thu, 28 Jan 1999 12:16:54 -0600 (CST) Original-Received: from pc-hrvoje.srce.hr (mail@pc-hrvoje.srce.hr [161.53.2.132]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id NAA21367 for ; Thu, 28 Jan 1999 13:16:42 -0500 (EST) Original-Received: from hniksic by pc-hrvoje.srce.hr with local (Exim 2.05 #1 (Debian)) id 105vzI-0000KG-00; Thu, 28 Jan 1999 19:16:20 +0100 Original-To: ding@gnus.org X-Attribution: Hrvoje X-Face: &{dT~)Pu6V<0y?>3p$;@vh\`C7xB~A0T-J%Og)J,@-1%q6Q+, gs<-9M#&`I8cJp2b1{vPE|~+JE+gx;a7%BG{}nY^ehK1"q#rG O,Rn1A_Cy%t]V=Brv7h writes: > Now, `mapcar' isn't a special form, but even so, I always forget > whether the predicate is the first or second parameter, due in part > to `sort' working the opposite way. > > (mapcar FUNCTION LIST) In Common Lisp it's: (mapcar FUNCTION LIST &rest OTHER-LISTS) If you specify more than one list, FUNCTION will be called with that many arguments. In Emacs, the CL version of `mapcar' is called `mapcar*'. BW, this fact is a good way of remembering that FUNCTION comes first, and why.