SubL/examples.stringp
From Public Domain Knowledge Bank
Contents
from SubL/examples.1
stringp
examples of use
CYC(#): (stringp) Error: Cannot make an arity 0 function from #<Function STRINGP> {req=1 ...} CYC(#): (stringp "hello" "world") Error: Cannot make an arity 2 function from #<Function STRINGP> {req=1 opt=0 allowsrest=false}
(stringp "hello")
CYC(#): (stringp "hello") T
(stringp 1)
CYC(#): (stringp 1) [Time: 0.0 secs] NIL
(stringp NIL)
CYC(#): (stringp NIL) [Time: 0.0 secs] NIL
(stringp 'stringp)
CYC(#): (stringp 'stringp) [Time: 0.0 secs] NIL
(stringp #$Dog)
CYC(#): (stringp #$Dog) [Time: 0.0 secs] NIL