[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Where did <somefunction>p come from?
- To: Tod Mughi Casasent <tcasasent@kbsi.com>
- Subject: Re: Where did <somefunction>p come from?
- From: Ernest T Rees <rees+@pitt.edu>
- Date: Fri, 27 May 1994 13:19:16 -0400 (EDT)
- Cc: info-mcl@ministry.cambridge.apple.com
- In-reply-to: <tcasasent.178.2DE61D88@kbsi.com>
On Fri, 27 May 1994, Tod Mughi Casasent wrote:
> Why does LISP use a "p" at the end of the function? I know that it indicates a
> boolean check, but was questioned on its history. I have to program
> in C++, but still use useful, LISP-like variable and function names, and a
> C++ hack here asked me about it.
>
The "p" stands for predicate. See the intro to Chapter 6 of CLtL or the
intro to predicates in most Lisp texts.