Re: Names of `stringp`, `intp`, `floatp`…
Lance Dillon <[email protected]> Thu, 20 Mar 2025 18:34:46 +0000 (UTC)
| Newsgroups | gmane.comp.lang.pike.user |
|---|---|
| Message-ID | <[email protected]> |
It is originally from lisp, it means predicate, designates testing for cond= itions. https://www.geeksforgeeks.org/predicates-in-lisp/ On Thursday, March 20, 2025 at 02:25:23 PM EDT, Marcos Cruz <pikeml@program= andala.net> wrote:=20 Just out of curiosity, what does the "p" means in `stringp`, `intp`, `floatp`, `functionp`, `objectp`, `arrayp`=E2=80=A6? When I found those useful functions by the first time, I wondered why they were not called, say, `is_string`, `is_int`, `is_float`, `is_array`=E2=80=A6? --=20 Marcos Cruz http://programandala.net