SubL/examples.symbolp

From Public Domain Knowledge Bank
Revision as of 03:24, 8 March 2019 by DavidWhitten (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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