PPT Slide
DATATYPE PREDICATES
Since data types need not be declared, Lisp provides predicates for dynamically querying the system.
atom
numberp ---------- floatp
symbolp integerp
listp ratiop
zerop
plusp
minusp
evenp
oddp
>
<
( < datatype > x ) returns T if x is
of that type, else NIL.
1.47
Next slide
Back to first slide
View graphic version