Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
Subject: Re: cl
Date: 28 Jan 1999 08:37:26 +0100	[thread overview]
Message-ID: <m3ww27q24p.fsf@quimbies.gnus.org> (raw)
In-Reply-To: Justin Sheehy's message of "27 Jan 1999 16:01:50 -0500"

Justin Sheehy <justin@linus.mitre.org> writes:

> What's wrong with the current mapc syntax?  Is there something that
> you would like other than to have the parameter order reversed?

No, but I think that's a good reason.  Virtually all the Lisp "control 
structures" look like

(special-form variables-or-list-or-something
  (do-all-the-work-down-here))

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)

vs.

(sort LIST PREDICATE)

(Heh.  I actually wrote the `sort' form with the parameters in the
wrong order, but then I tapped `C-h f', as I always do when I write
`sort' or `mapcar', and it told me I was wrong, as usual.  :-)

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


  reply	other threads:[~1999-01-28  7:37 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     ` Lars Magne Ingebrigtsen [this message]
1999-01-28 18:16       ` cl Hrvoje Niksic
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=m3ww27q24p.fsf@quimbies.gnus.org \
    --to=larsi@gnus.org \
    /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).