all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Evans Winner <ego111@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: canonical name  ending "-p"
Date: Fri, 18 Mar 2011 14:36:08 -0600	[thread overview]
Message-ID: <87vczgp3nr.fsf@gmail.com> (raw)
In-Reply-To: mailman.8.1300470004.7441.help-gnu-emacs@gnu.org

,------ ken wrote ------
|    Lots of things in elisp end in "-p"... is there some
|    particular meaning in this?

On a related note (since Pascal already explained it) I have
wondered why the rather odd use of the term "predicate" was
chosen.

When I hear the term "predicate" I usually think of its
meaning in grammar and logic.  But there is also the use in
which one says that if one thing (A) depends on another
thing (B) that A is "predicated on B."  I suspect it is
because one might verbally reason that in:

   (if (atom t) t nil)

the answer to whether Lisp will return t or nil is
predicated on the results of (atom t), therefore by
extension we call the function itself a predicate.  It's a
little confusing because it is not one of the common uses of
the noun "predicate."  I would be interested to hear from
someone who knows if this is indeed the sense on which the
term was chosen.


  parent reply	other threads:[~2011-03-18 20:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.8.1300470004.7441.help-gnu-emacs@gnu.org>
2011-03-18 17:56 ` canonical name ending "-p" Pascal J. Bourguignon
2011-03-18 20:36 ` Evans Winner [this message]
2011-03-19  4:32   ` rusi
2011-03-18 17:39 ken
2011-03-18 18:11 ` Allan Gottlieb
2011-03-18 18:18 ` Perry Smith
2011-03-18 18:31   ` Drew Adams
2011-03-18 18:20 ` Tom Rauchenwald
2011-03-18 18:31   ` Drew Adams
     [not found] ` <mailman.12.1300472466.7441.help-gnu-emacs@gnu.org>
2011-03-19  1:52   ` Stefan Monnier

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=87vczgp3nr.fsf@gmail.com \
    --to=ego111@gmail.com \
    --cc=help-gnu-emacs@gnu.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.