Gnus development mailing list
 help / color / mirror / Atom feed
From: Hrvoje Niksic <hniksic@srce.hr>
Subject: Re: cl
Date: 28 Jan 1999 19:16:14 +0100	[thread overview]
Message-ID: <87d83zp8k1.fsf@pc-hrvoje.srce.hr> (raw)
In-Reply-To: Lars Magne Ingebrigtsen's message of "28 Jan 1999 08:37:26 +0100"

Lars Magne Ingebrigtsen <larsi@gnus.org> 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.


  reply	other threads:[~1999-01-28 18:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-27 17:03 cl Lars Magne Ingebrigtsen
1999-01-27 19:10 ` cl Jan Vroonhof
1999-01-27 21:01   ` cl Justin Sheehy
1999-01-28  7:37     ` cl Lars Magne Ingebrigtsen
1999-01-28 18:16       ` Hrvoje Niksic [this message]
1999-12-14  4:21 cl Katsumi Yamaoka
1999-12-14 11:01 ` cl Hrvoje Niksic
1999-12-14 11:37   ` cl Katsumi Yamaoka
1999-12-14 18:55     ` cl Jan Vroonhof
1999-12-14 22:43       ` cl Katsumi Yamaoka

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=87d83zp8k1.fsf@pc-hrvoje.srce.hr \
    --to=hniksic@srce.hr \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).