I'm afraid it goes back even further than that. intp, stringp, etc. were already present in the lpmud drivers when I started playing LPMUDs in 1991. Since github wasn't a thing back then, finding out when it was actually added turns out to be somewhat difficult.
/Hubbe On Thu, Mar 20, 2025 at 12:08 PM Henrik Grubbström <gru...@roxen.com> wrote: > On Thu, 20 Mar 2025, Marcos Cruz wrote: > > > Just out of curiosity, what does the "p" means in `stringp`, `intp`, > > `floatp`, `functionp`, `objectp`, `arrayp`…? > > The "p" is an abreviation of "predicate", and has been inherited from > LISP and Scheme, which have predicate functions such as eg `integerp`, > `floatp` and `consp`. > > > 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`…? > > The LISP naming convention was the common naming convention at the time > of LPC4 and μLPC. > > /grubba > > -- > Henrik Grubbström gru...@roxen.com > Roxen Internet Software AB