commit
453b02afd1
2 changed files with 7 additions and 1 deletions
|
@ -19,5 +19,9 @@
|
|||
|
||||
[(= ?x ?x) true]
|
||||
[(== ?x ?x) true]
|
||||
[(zero? 0) true])
|
||||
[(zero? 0) true]
|
||||
|
||||
; nil?
|
||||
[(= ?x nil) (nil? ?x)]
|
||||
[(= nil ?x) (nil? ?x)])
|
||||
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
'(pos? x) '(> x 0)
|
||||
'(pos? x) '(<= 1 x)
|
||||
'(neg? x) '(< x 0)
|
||||
'(nil? x) '(= nil x)
|
||||
'(nil? x) '(= x nil)
|
||||
true '(= x x)
|
||||
true '(== x x)
|
||||
true '(zero? 0)))
|
||||
|
|
Loading…
Reference in a new issue