[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Where did <somefunction>p come from?
- To: email@example.com
- Subject: Where did <somefunction>p come from?
- From: firstname.lastname@example.org (Bob Hall)
- Date: Fri, 27 May 94 13:27:08 EDT
- Cc: email@example.com
- In-reply-to: Tod "Mughi" Casasent's message of Fri, 27 May 1994 16:19:20 GMT <tcasasent.178.2DE61D88@kbsi.com>
From: firstname.lastname@example.org (Tod "Mughi" Casasent)
Date: Fri, 27 May 1994 16:19:20 GMT
Why does LISP use a "p" at the end of the function?
I believe the "p" is for "predicate" to indicate that the return value
is a Boolean (T or NIL).
If you are asking why do this at all, it is a matter of style to use such
a mnemonic to indicate this information. If you are asking why do this
instead of a "?" or something else, it may have to do with limitations of
old input devices.