not nil? and not true? value

For the Compleat Fan

not nil? and not true? value

Postby ssqq » Sun Jul 10, 2016 5:35 am

I found '() is not nil or true? value:

Code: Select all
> (nil? '())
nil
> (true? '())
nil
> (empty? '())
true
> (list? '())
true
> (= '() '())
true


for nil and true is only bool value in newLISP, so everything should be judged with nil? or true?
ssqq
 
Posts: 88
Joined: Sun May 04, 2014 12:49 pm

Return to Anything else we might add?

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest