Difference between revisions of "SubL/examples.stringp"
From Public Domain Knowledge Bank
DavidWhitten (talk | contribs) (Created page with "<noinclude> == from SubL/examples.1 == </noinclude> ==== stringp ==== examples of use (stringp) Error: Cannot make an arity 0 function from #<Function STRINGP> {req=1...") |
DavidWhitten (talk | contribs) (→stringp) |
||
Line 2: | Line 2: | ||
== from [[SubL/examples.1]] == | == from [[SubL/examples.1]] == | ||
</noinclude> | </noinclude> | ||
− | + | === stringp === | |
examples of use | examples of use | ||
− | (stringp) | + | CYC(#): (stringp) |
Error: Cannot make an arity 0 function from #<Function STRINGP> {req=1 ...} | 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") ===== | ===== (stringp "hello") ===== | ||
CYC(#): (stringp "hello") | CYC(#): (stringp "hello") |
Latest revision as of 02:56, 8 March 2019
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