Difference between revisions of "SubL/examples.symbolp"

From Public Domain Knowledge Bank
Jump to: navigation, search
(Created page with "<noinclude> == SubL/examples.1 == </noinclude> === symbolp === ==== symbolp w/ 0 args is ERROR ==== CYC(#): (symbolp) Error: Cannot make an arity 0 function from #<Funct...")
 
(No difference)

Latest revision as of 03:24, 8 March 2019

SubL/examples.1

symbolp

symbolp w/ 0 args is ERROR

CYC(#): (symbolp)
Error: Cannot make an arity 0 function from #<Function SYMBOLP> {req=1 ...}

symbolp w/ 2+ args is ERROR

CYC(#): (symbolp "hello" "world")
Error: Cannot make an arity 2 function from #<Function SYMBOLP> {req=1 opt=0 allowsrest=false}

(symbolp <string> )

CYC(#): (symbolp "hello")
[Time: 0.0 secs]
NIL
CYC(#): (symbolp #$Lenat)
[Time: 0.0 secs]
NIL

(symbolp <number> )

CYC(#): (symbolp 1)
[Time: 0.0 secs]
NIL